Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by Eirik Fuller
Thu, 27 Jul 1989 19:54
random return value in gdb-3.2
Author: Eirik Fuller
Date: Thu, 27 Jul 1989 19:54
Date: Thu, 27 Jul 1989 19:54
23 lines
961 bytes
961 bytes
read_memory() doesn't always return a meaningful value, which
sometimes produces mysterious error messages. A patch follows.
*** ../gdb-3.2/core.c Wed Jul 5 12:45:09 1989
--- core.c Fri Jul 21 06:37:17 1989
***************
*** 275,281
int len;
{
if (len == 0)
! return;
if (have_inferior_p ())
return read_inferior_memory (memaddr, myaddr, len);
--- 275,281 -----
int len;
{
if (len == 0)
! return 0;
if (have_inferior_p ())
return read_inferior_memory (memaddr, myaddr, len);
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