Possible regression on gdb.gdb/complaints.exp

Tom Tromey tom@tromey.com
Mon Jun 4 21:38:00 GMT 2018


>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:

Sergio>   (gdb) PASS: gdb.gdb/complaints.exp: run until breakpoint at captured_command_loop
Sergio>   set stop_whining = 2
Sergio>   (gdb) PASS: gdb.gdb/complaints.exp: set stop_whining = 2
Sergio>   set var $cstr = "Register a complaint"
Sergio>   (gdb) PASS: gdb.gdb/complaints.exp: set var $cstr = "Register a complaint"
Sergio>   call complaint_internal ($cstr)
Sergio>   free(): invalid pointer

This seems fishy.  I wonder if debugging gdb running under valgrind
would show anything interesting.

Tom



More information about the Gdb-patches mailing list