* get_frame_saved_regs broken
@ 1998-12-28 1:53 Andreas Schwab
1998-12-30 17:43 ` Stan Shebs
1999-01-03 13:11 ` Andrew Cagney
0 siblings, 2 replies; 3+ messages in thread
From: Andreas Schwab @ 1998-12-28 1:53 UTC (permalink / raw)
To: gdb-patches
This patch fixes an obvious bug in get_frame_saved_regs.
1998-12-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* blockframe.c (get_frame_saved_regs): Pass address of local
saved_regs instead of saved_regs_addr to memcpy if the latter is
NULL.
--- gdb-19981215/gdb/blockframe.c.~1~ Fri Dec 18 20:33:08 1998
+++ gdb-19981215/gdb/blockframe.c Sun Dec 27 14:06:43 1998
@@ -539,7 +539,7 @@
{
struct frame_saved_regs saved_regs;
FRAME_FIND_SAVED_REGS (frame, saved_regs);
- memcpy (frame->saved_regs, saved_regs_addr, SIZEOF_FRAME_SAVED_REGS);
+ memcpy (frame->saved_regs, &saved_regs, SIZEOF_FRAME_SAVED_REGS);
}
else
{
--
Andreas Schwab "And now for something
schwab@issan.cs.uni-dortmund.de completely different"
schwab@gnu.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: get_frame_saved_regs broken
1998-12-28 1:53 get_frame_saved_regs broken Andreas Schwab
@ 1998-12-30 17:43 ` Stan Shebs
1999-01-03 13:11 ` Andrew Cagney
1 sibling, 0 replies; 3+ messages in thread
From: Stan Shebs @ 1998-12-30 17:43 UTC (permalink / raw)
To: schwab; +Cc: gdb-patches
From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Date: 28 Dec 1998 10:53:45 +0100
1998-12-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* blockframe.c (get_frame_saved_regs): Pass address of local
saved_regs instead of saved_regs_addr to memcpy if the latter is
NULL.
Thanks for the patch - JT Conklin already got this last week, and the
fix is in the repository (I checked just now, to be sure).
Stan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: get_frame_saved_regs broken
1998-12-28 1:53 get_frame_saved_regs broken Andreas Schwab
1998-12-30 17:43 ` Stan Shebs
@ 1999-01-03 13:11 ` Andrew Cagney
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 1999-01-03 13:11 UTC (permalink / raw)
To: gdb-patches
Excerpts from mail: 28-Dec-98 get_frame_saved_regs broken Andreas
Schwab@issan.inf (844*)
> This patch fixes an obvious bug in get_frame_saved_regs.
Thanks (A very similar patch has already been checked in).
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-01-03 13:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-28 1:53 get_frame_saved_regs broken Andreas Schwab
1998-12-30 17:43 ` Stan Shebs
1999-01-03 13:11 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox