[Issue 3207] [meta] Push GDB support to upstream

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 7 20:49:23 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3207





--- Comment #2 from Leandro Lucarella <llucax at gmail.com>  2009-08-07 20:49:22 PDT ---
Wed, 05 Aug 2009 20:10:46 -0400, Jason House wrote:

Unfortunately, I don't see an observable change in gdb behavior :(

$ cat main.d
int main(){
  enum foo{ bar };
  foo x;
  final switch(x){ case foo.bar: return 0; }
  assert(0); // required due to bugzilla 3229
}
$ dmd2/linux/bin/dmd -g main.d -ofmain
$ gdb main
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) break main
Breakpoint 1 at 0x80490b7
(gdb) run
Starting program: /home/jhouse/housebot/test/main
[Thread debugging using libthread_db enabled]
[New Thread 0xb7e9a6d0 (LWP 6222)]
[Switching to Thread 0xb7e9a6d0 (LWP 6222)]

Breakpoint 1, 0x080490b7 in main ()
Current language:  auto; currently asm
(gdb) list
1       in ../sysdeps/i386/elf/start.S

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list