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 breakpoints/17544] New: minor catch exec reporting oddity


https://sourceware.org/bugzilla/show_bug.cgi?id=17544

            Bug ID: 17544
           Summary: minor catch exec reporting oddity
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: minor
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org

Take a look at the "info break" output from bug #17543:

info b
Num     Type           Disp Enb Address            What
1       catchpoint     keep y                      exec, program
"/home/tromey/firefox-git/gecko-dev/obj-x86_64-unknown-linux-gnu/dist/bin/plugin-container" 
    catchpoint already hit 1 time


This has changed the output to mention the program being exec'd.
This seemed a mildly strange to me; like I briefly wasn't
sure if this meant that the catchpoint would only then apply
to other programs of this name.

Relatedly, there should be some way to access this file name from
scripts.  Then I could make a "catch exec" conditional on what
is being exec'd.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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