Not sure when this was fixed, but it's OK on quantal; gdb
7.4-2012.06-0ubuntu2


dg@major:~$ cd /usr/share/gdb/syscalls/
dg@major:/usr/share/gdb/syscalls$ ls
amd64-linux.xml   i386-linux.xml      mips-n64-linux.xml  ppc64-linux.xml  
sparc64-linux.xml
gdb-syscalls.dtd  mips-n32-linux.xml  mips-o32-linux.xml  ppc-linux.xml    
sparc-linux.xml

dg@major:~$ gdb /bin/ls
GNU gdb (Linaro GDB) 7.4-2012.06-ubuntu
Copyright (C) 2012 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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /bin/ls...(no debugging symbols found)...done.
(gdb) b exit
Breakpoint 1 at 0x4025d0
(gdb) r
Starting program: /bin/ls 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
a.out                                   bug2                  Documents  Music  
            Public     trob.fro
binutils-2.22-formatfixes.diff          buglist               Downloads  News   
            s.ck       Videos
binutils-arm-dis-bugutils-bug5913.diff  bugs                  foo        
#.newsrc-dribble#  Templates  Where
blah                                    crashing_interface.x  foo.c      notes  
            test.rtf   workspace
bug                                     Desktop               kdenlive   
Pictures           tft        x.cpp

Breakpoint 1, 0x00007ffff7429950 in exit () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) catch syscall open
open    openat  
(gdb) catch syscall 2
Catchpoint 2 (syscall 'open' [2])
(gdb) quit

(hmm no arm?)


** Changed in: gdb (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/501277

Title:
  gdb "catch syscall" doesn't work, missing syscalls/amd64-linux.xml

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/501277/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to