* Small GNU/Hurd cleanup
@ 2007-01-01 1:26 Mark Kettenis
2007-01-01 23:48 ` Alfred M. Szmidt
2007-01-11 21:02 ` Alfred M. Szmidt
0 siblings, 2 replies; 5+ messages in thread
From: Mark Kettenis @ 2007-01-01 1:26 UTC (permalink / raw)
To: ams, gdb-patches
The Hurd is the last user of deprecated_read_register_bytes() that we
have in the tree. As far as I can tell, it doesn't really need it.
Alfred, can you test whether I'm right or not?
Thanks,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
Index: config/i386/nm-i386gnu.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-i386gnu.h,v
retrieving revision 1.4
diff -u -p -r1.4 nm-i386gnu.h
--- config/i386/nm-i386gnu.h 24 Nov 2006 18:23:34 -0000 1.4
+++ config/i386/nm-i386gnu.h 1 Jan 2007 01:24:07 -0000
@@ -1,5 +1,5 @@
/* Native-dependent definitions for Intel 386 running the GNU Hurd
- Copyright 1994, 1995, 1996, 2002 Free Software Foundation, Inc.
+ Copyright 1994, 1995, 1996, 2002, 2006 Free Software Foundation, Inc.
This file is part of GDB.
@@ -28,9 +28,6 @@
extern char *gnu_target_pid_to_str (int pid);
-/* Before storing, we need to read all the registers. */
-#define CHILD_PREPARE_TO_STORE() deprecated_read_register_bytes (0, NULL, deprecated_register_bytes ())
-
/* Don't do wait_for_inferior on attach. */
#define ATTACH_NO_WAIT
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Small GNU/Hurd cleanup
2007-01-01 1:26 Small GNU/Hurd cleanup Mark Kettenis
@ 2007-01-01 23:48 ` Alfred M. Szmidt
2007-01-02 19:12 ` Mark Kettenis
2007-01-11 21:02 ` Alfred M. Szmidt
1 sibling, 1 reply; 5+ messages in thread
From: Alfred M. Szmidt @ 2007-01-01 23:48 UTC (permalink / raw)
To: Mark Kettenis; +Cc: gdb-patches
I don't have a box to test this on right now, is it a pressing issue
that needs to be resolved ASAP?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Small GNU/Hurd cleanup
2007-01-01 1:26 Small GNU/Hurd cleanup Mark Kettenis
2007-01-01 23:48 ` Alfred M. Szmidt
@ 2007-01-11 21:02 ` Alfred M. Szmidt
2007-01-11 21:55 ` Mark Kettenis
1 sibling, 1 reply; 5+ messages in thread
From: Alfred M. Szmidt @ 2007-01-11 21:02 UTC (permalink / raw)
To: Mark Kettenis; +Cc: gdb-patches
The Hurd is the last user of deprecated_read_register_bytes() that
we have in the tree. As far as I can tell, it doesn't really need
it. Alfred, can you test whether I'm right or not?
You are right, please commit the patch (I can't right now). Thanks
for waiting.
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
Index: config/i386/nm-i386gnu.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-i386gnu.h,v
retrieving revision 1.4
diff -u -p -r1.4 nm-i386gnu.h
--- config/i386/nm-i386gnu.h 24 Nov 2006 18:23:34 -0000 1.4
+++ config/i386/nm-i386gnu.h 1 Jan 2007 01:24:07 -0000
@@ -1,5 +1,5 @@
/* Native-dependent definitions for Intel 386 running the GNU Hurd
- Copyright 1994, 1995, 1996, 2002 Free Software Foundation, Inc.
+ Copyright 1994, 1995, 1996, 2002, 2006 Free Software Foundation, Inc.
This file is part of GDB.
@@ -28,9 +28,6 @@
extern char *gnu_target_pid_to_str (int pid);
-/* Before storing, we need to read all the registers. */
-#define CHILD_PREPARE_TO_STORE() deprecated_read_register_bytes (0, NULL, deprecated_register_bytes ())
-
/* Don't do wait_for_inferior on attach. */
#define ATTACH_NO_WAIT
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Small GNU/Hurd cleanup
2007-01-11 21:02 ` Alfred M. Szmidt
@ 2007-01-11 21:55 ` Mark Kettenis
0 siblings, 0 replies; 5+ messages in thread
From: Mark Kettenis @ 2007-01-11 21:55 UTC (permalink / raw)
To: ams; +Cc: gdb-patches
> From: "Alfred M. Szmidt" <ams@gnu.org>
> Date: Thu, 11 Jan 2007 22:02:30 +0100 (CET)
>
> The Hurd is the last user of deprecated_read_register_bytes() that
> we have in the tree. As far as I can tell, it doesn't really need
> it. Alfred, can you test whether I'm right or not?
>
> You are right, please commit the patch (I can't right now). Thanks
> for waiting.
Thanks, I committed this now.
> Index: ChangeLog
> from Mark Kettenis <kettenis@gnu.org>
>
> * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
>
> Index: config/i386/nm-i386gnu.h
> ===================================================================
> RCS file: /cvs/src/src/gdb/config/i386/nm-i386gnu.h,v
> retrieving revision 1.4
> diff -u -p -r1.4 nm-i386gnu.h
> --- config/i386/nm-i386gnu.h 24 Nov 2006 18:23:34 -0000 1.4
> +++ config/i386/nm-i386gnu.h 1 Jan 2007 01:24:07 -0000
> @@ -1,5 +1,5 @@
> /* Native-dependent definitions for Intel 386 running the GNU Hurd
> - Copyright 1994, 1995, 1996, 2002 Free Software Foundation, Inc.
> + Copyright 1994, 1995, 1996, 2002, 2006 Free Software Foundation, Inc.
>
> This file is part of GDB.
>
> @@ -28,9 +28,6 @@
>
> extern char *gnu_target_pid_to_str (int pid);
>
> -/* Before storing, we need to read all the registers. */
> -#define CHILD_PREPARE_TO_STORE() deprecated_read_register_bytes (0, NULL, deprecated_register_bytes ())
> -
> /* Don't do wait_for_inferior on attach. */
> #define ATTACH_NO_WAIT
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-01-11 21:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-01 1:26 Small GNU/Hurd cleanup Mark Kettenis
2007-01-01 23:48 ` Alfred M. Szmidt
2007-01-02 19:12 ` Mark Kettenis
2007-01-11 21:02 ` Alfred M. Szmidt
2007-01-11 21:55 ` Mark Kettenis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox