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 gdb/15949] New: $_exitcode not reset on rerun


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

            Bug ID: 15949
           Summary: $_exitcode not reset on rerun
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

If I run a program to main and print $_exitcode I get "void", which is
expected.
But if I then continue the program to completion and rerun to main, $_exitcode
has the last exit code.  Seems like it should get reset to void on each rerun.

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