[Bug gdb/23472] New: gdb crash when use finish to look at function return value

nan.nine at outlook dot com sourceware-bugzilla@sourceware.org
Wed Aug 1 14:36:00 GMT 2018


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

            Bug ID: 23472
           Summary: gdb crash when use finish to look at function return
                    value
           Product: gdb
           Version: 8.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: nan.nine at outlook dot com
  Target Milestone: ---

platform : Windows, MinGW-w64, GDB 8.1 & 8.1.1, GCC 6.4 & 7.3, binutils 2.31.1

add break to function foo return;
and then 'finish' to look return value;
gdb crash.

on gdb 8.0.1 it works well.

int foo() {
    return 42;
}

int main() {
    int x = foo();
}

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


More information about the Gdb-prs mailing list