This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/10119] New: 'catch catch' without symbols loaded complains too much.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]