Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by Eirik Fuller
Thu, 14 Sep 1989 07:35
gdb 3.2 null pointer dereference
Author: Eirik Fuller
Date: Thu, 14 Sep 1989 07:35
Date: Thu, 14 Sep 1989 07:35
26 lines
1200 bytes
1200 bytes
When stepping through a stripped binary (don't ask ...) I tripped over
a null pointer dereference in wait_for_inferior(). The enclosed patch
cured the symtom if not the problem.
*** ../gdb-3.2/infrun.c Wed Jul 5 12:46:07 1989
--- infrun.c Thu Sep 14 00:17:02 1989
***************
*** 813,819
}
/* Did we just take a signal? */
! if (!strcmp ("_sigtramp", stop_func_name)
&& strcmp ("_sigtramp", prev_func_name))
{
/* We've just taken a signal; go until we are back to
--- 813,819 -----
}
/* Did we just take a signal? */
! if (stop_func_name && !strcmp ("_sigtramp", stop_func_name)
&& strcmp ("_sigtramp", prev_func_name))
{
/* We've just taken a signal; go until we are back to
Eirik
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads