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 cli/16748] New: add command to abandon a hand-called function


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

            Bug ID: 16748
           Summary: add command to abandon a hand-called function
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

While it's straightforward enough to back out of a hand-called function, it
does take a bit of manual effort, and is not readily obvious to new users.

A new command, abandon, could do all this, and be mentioned in the message GDB
produces when stopping in a hand-called function.

For more info on what's involved,
https://sourceware.org/gdb/wiki/FAQ#How_do_I_abandon_a_hand-called_function.3F

There are some caveats that one might want to take into account in the
implementation - basically anything that applies to the "return" command
applies here.

-- 
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]