From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
To: <insight@sourceware.org>
Subject: [OBV] Fix compilation error due to deprecation of frame_register_read function
Date: Wed, 21 Nov 2012 16:48:00 -0000 [thread overview]
Message-ID: <001401cdc807$fd531820$f7f94860$@muller@ics-cnrs.unistra.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 68 bytes --]
All is in the title,
checked in as obvious fix.
Pierre Muller
[-- Attachment #2: gdbtk-frame_reg.patch --]
[-- Type: application/octet-stream, Size: 946 bytes --]
2012-11-21 Pierre Muller <muller@sourceware.org>
* generic/gdbtk-register.c (register_changed_p): Adapt to
function name change from frame_register_read to
deprecated_frame_register_read.
Index: generic/gdbtk-register.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-register.c,v
retrieving revision 1.43
diff -u -p -r1.43 gdbtk-register.c
--- generic/gdbtk-register.c 13 Apr 2012 15:23:46 -0000 1.43
+++ generic/gdbtk-register.c 21 Nov 2012 16:37:09 -0000
@@ -445,7 +445,8 @@ register_changed_p (int regnum, map_arg
char raw_buffer[MAX_REGISTER_SIZE];
if (!target_has_registers
- || !frame_register_read (get_selected_frame (NULL), regnum, raw_buffer))
+ || !deprecated_frame_register_read (get_selected_frame (NULL), regnum,
+ raw_buffer))
return;
if (memcmp (&old_regs[regnum * MAX_REGISTER_SIZE], raw_buffer,
next reply other threads:[~2012-11-21 16:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-21 16:48 Pierre Muller [this message]
2012-11-21 17:03 ` Keith Seitz
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='001401cdc807$fd531820$f7f94860$@muller@ics-cnrs.unistra.fr' \
--to=pierre.muller@ics-cnrs.unistra.fr \
--cc=insight@sourceware.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).