From: Andrew Cagney <ac131313@cygnus.com>
To: Andreas Jaeger <aj@suse.de>
Cc: gdb@sourceware.cygnus.com
Subject: Re: gdb/regcache.c:211: undefined reference to `GET_SAVED_REGISTER'
Date: Fri, 11 Aug 2000 11:09:00 -0000 [thread overview]
Message-ID: <39944075.97B293C8@cygnus.com> (raw)
In-Reply-To: <u8k8dof7ah.fsf@gromit.rhein-neckar.de>
Mine. Will fix.
Andrew
From kettenis@wins.uva.nl Fri Aug 11 11:10:00 2000
From: Mark Kettenis <kettenis@wins.uva.nl>
To: aj@suse.de, ac131313@cygnus.com
Cc: gdb@sourceware.cygnus.com
Subject: Re: gdb/regcache.c:211: undefined reference to `GET_SAVED_REGISTER'
Date: Fri, 11 Aug 2000 11:10:00 -0000
Message-id: <200008111810.e7BIAQS09455@delius.kettenis.local>
References: <u8k8dof7ah.fsf@gromit.rhein-neckar.de>
X-SW-Source: 2000-08/msg00058.html
Content-length: 1033
From: Andreas Jaeger <aj@suse.de>
Date: 11 Aug 2000 11:58:46 +0200
By default (!GDB_MULTI_ARCH && !GET_SAVED_REGISTER) no replacement is
defined.
Looks like Andrew accidentiliy removed the GET_SAVED_REGISTER stuff
from regcache.c (there's no ChangeLog for that bit). The attached
patch restores it. Andrew, I'll leave it to you to check it in and
put an appropriate notice in the ChangeLog :-).
Mark
Index: regcache.c
===================================================================
RCS file: /cvs/src/src/gdb/regcache.c,v
retrieving revision 1.7
diff -u -p -r1.7 regcache.c
--- regcache.c 2000/08/11 03:19:22 1.7
+++ regcache.c 2000/08/11 18:08:21
@@ -200,6 +200,11 @@ default_get_saved_register (char *raw_bu
*addrp = addr;
}
+#if !defined (GET_SAVED_REGISTER)
+#define GET_SAVED_REGISTER(raw_buffer, optimized, addrp, frame, regnum, lval) \
+ default_get_saved_register(raw_buffer, optimized, addrp, frame, regnum, lval)
+#endif
+
void
get_saved_register (char *raw_buffer,
int *optimized,
From guo@cup.hp.com Fri Aug 11 11:11:00 2000
From: Jimmy Guo <guo@cup.hp.com>
To: Mark Kettenis <kettenis@wins.uva.nl>
Cc: gdb@sourceware.cygnus.com
Subject: Re: gdb linux testing regressions (compared to 7/24)
Date: Fri, 11 Aug 2000 11:11:00 -0000
Message-id: <Pine.LNX.4.10.10008111110050.807-100000@hpcll168.cup.hp.com>
References: <200008111804.e7BI4kx09433@delius.kettenis.local>
X-SW-Source: 2000-08/msg00059.html
Content-length: 267
>I probably should have asked for the Linux *kernel* version (uname
>-a). If you're running Linux 2.0.x, the failures you're seeing would
>be pretty normal.
% uname -a
Linux hpcll168.cup.hp.com 2.2.5-15smp #1 SMP Mon Apr 19 22:43:28 EDT
1999 i686 unknown
- Jimmy
next parent reply other threads:[~2000-08-11 11:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <u8k8dof7ah.fsf@gromit.rhein-neckar.de>
2000-08-11 11:09 ` Andrew Cagney [this message]
2000-08-11 11:23 ` Mark Kettenis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39944075.97B293C8@cygnus.com \
--to=ac131313@cygnus.com \
--cc=aj@suse.de \
--cc=gdb@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox