public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/11320] New: strange output from "info b" with a syscall catchpoint
@ 2010-02-24 17:00 tromey at redhat dot com
  2010-03-03 22:43 ` [Bug breakpoints/11320] " sergiodj at redhat dot com
  2010-03-04  2:32 ` tromey at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2010-02-24 17:00 UTC (permalink / raw)
  To: gdb-prs

I did "catch syscall open" then "info b":

Num     Type           Disp Enb Address    What
1       catchpoint     keep y              syscall "<any syscall>" 

It shouldn't say <any syscall> here.

After hitting the catchpoint it shows the right thing:

(gdb) r
Starting program: /usr/bin/gdb 

Catchpoint 1 (call to syscall 'open'), 0x00905984 in open ()
   from /lib/ld-linux.so.2
Current language:  auto; currently asm
(gdb) info b
Num     Type           Disp Enb Address    What
1       catchpoint     keep y              syscall "open" 
	catchpoint already hit 1 time

-- 
           Summary: strange output from "info b" with a syscall catchpoint
           Product: gdb
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: breakpoints
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: tromey at redhat dot com
                CC: gdb-prs at sourceware dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11320

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug breakpoints/11320] strange output from "info b" with a syscall catchpoint
  2010-02-24 17:00 [Bug breakpoints/11320] New: strange output from "info b" with a syscall catchpoint tromey at redhat dot com
@ 2010-03-03 22:43 ` sergiodj at redhat dot com
  2010-03-04  2:32 ` tromey at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: sergiodj at redhat dot com @ 2010-03-03 22:43 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From sergiodj at redhat dot com  2010-03-03 22:43 -------
Hi Tom,

I did a quick test here:

GNU gdb (GDB) Fedora (7.0.1-33.fc12)
Copyright (C) 2009 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-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) catch syscall open
Catchpoint 1 (syscall 'open' [5])
(gdb) info b
Num     Type           Disp Enb Address    What
1       catchpoint     keep y              syscall "open"

The same thing happened when I used a version of GDB built from CVS HEAD.  Did
you do anything before issuing a "catch syscall" command?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11320

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug breakpoints/11320] strange output from "info b" with a syscall catchpoint
  2010-02-24 17:00 [Bug breakpoints/11320] New: strange output from "info b" with a syscall catchpoint tromey at redhat dot com
  2010-03-03 22:43 ` [Bug breakpoints/11320] " sergiodj at redhat dot com
@ 2010-03-04  2:32 ` tromey at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2010-03-04  2:32 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2010-03-04 02:32 -------
I think I must have tried the F11 system gdb, where it
is broken.  I tried CVS HEAD just now and it is fine.
So, I'm closing this, sorry about that.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=11320

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-04  2:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-24 17:00 [Bug breakpoints/11320] New: strange output from "info b" with a syscall catchpoint tromey at redhat dot com
2010-03-03 22:43 ` [Bug breakpoints/11320] " sergiodj at redhat dot com
2010-03-04  2:32 ` tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).