public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* [OBV] Fix compilation error due to deprecation of frame_register_read function
@ 2012-11-21 16:48 Pierre Muller
  2012-11-21 17:03 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre Muller @ 2012-11-21 16:48 UTC (permalink / raw)
  To: insight

[-- 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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [OBV] Fix compilation error due to deprecation of frame_register_read function
  2012-11-21 16:48 [OBV] Fix compilation error due to deprecation of frame_register_read function Pierre Muller
@ 2012-11-21 17:03 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2012-11-21 17:03 UTC (permalink / raw)
  To: Pierre Muller; +Cc: insight

On 11/21/2012 08:48 AM, Pierre Muller wrote:
>    All is in the title,
> checked in as obvious fix.
>

Thanks!

Keith


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-21 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-21 16:48 [OBV] Fix compilation error due to deprecation of frame_register_read function Pierre Muller
2012-11-21 17:03 ` Keith Seitz

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).