public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/10119] New: 'catch catch' without symbols loaded complains too much.
@ 2009-04-30 22:27 pedro at codesourcery dot com
  0 siblings, 0 replies; only message in thread
From: pedro at codesourcery dot com @ 2009-04-30 22:27 UTC (permalink / raw)
  To: gdb-prs

The user can now set 'catch catch' catchpoints even without symbols.
The breakpoint at '__cxa_begin_catch' will be left pending.  Yet, GDB
could hide the fact that there's a breakpoint behind the scenes
a bit better.  Vis.,

(gdb) catch catch
No symbol table is loaded.  Use the "file" command.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Catchpoint 1 (catch)
(gdb) info breakpoints
Num     Type           Disp Enb Address    What
1       breakpoint     keep y   <PENDING>  exception catch
(gdb)
(gdb) file gdb
Reading symbols from /home/pedro/gdb/mainline/build/gdb/gdb...done.
(gdb) del 1
(gdb) catch catch
Function "__cxa_begin_catch" not defined.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Catchpoint 2 (catch)
(gdb) info breakpoints
Num     Type           Disp Enb Address            What
2       breakpoint     keep y   <PENDING>          exception catch
(gdb)

-- 
           Summary: 'catch catch' without symbols loaded complains too much.
           Product: gdb
           Version: 6.50
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: pedro at codesourcery dot com
                CC: gdb-prs at sourceware dot org


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

------- 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] only message in thread

only message in thread, other threads:[~2009-04-30 22:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-30 22:27 [Bug c++/10119] New: 'catch catch' without symbols loaded complains too much pedro at codesourcery 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).