This is the mail archive of the gdb-prs@sources.redhat.com 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]

breakpoints/1920: Setting pending breakpoints is not scriptable, at least not intuitively


>Number:         1920
>Category:       breakpoints
>Synopsis:       Setting pending breakpoints is not scriptable, at least not intuitively
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 14 17:48:01 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator:     greenrd@greenrd.org
>Release:        6.3.50.20050413
>Organization:
>Environment:
Fedora Core 4 test 1
>Description:
I wanted to script the setting of a pending breakpoint for another gdb bug report, but I could not work out how to do so. When gdb is used interactively, attempting to set a breakpoint on a symbol that does not yet exist will trigger the question:

Make breakpoint pending on future shared library load? (y or [n])

However, in scripting mode, this question does not occur, and there is no documented option to the b command in "help b" to do a pending breakpoint from a script.
>How-To-Repeat:
echo b bogussymbol >tempfile
/usr/src/build/gdb/gdb -x tempfile ls
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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