This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] nm header removal: Get rid of config/i386/nm-i386gnu.h header
- From: Thomas Schwinge <thomas at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Date: Thu, 14 Feb 2019 15:48:08 +0100
- Subject: Re: [RFC] nm header removal: Get rid of config/i386/nm-i386gnu.h header
- References: <000601cbe7de$3da74740$b8f5d5c0$@muller@ics-cnrs.unistra.fr> <87oc4u166a.fsf@kepler.schwinge.homeip.net>
Hi!
Not quite ready to remove the 'gdb/config/i386/nm-i386gnu.h' file (but
getting there), but at least:
On Tue, 29 Mar 2011 14:07:25 +0200, I wrote:
> On Mon, 21 Mar 2011 16:40:00 +0100, "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr> wrote:
> > diff --git a/gdb/config/i386/nm-i386gnu.h b/gdb/config/i386/nm-i386gnu.h
> > deleted file mode 100644
> > index 8ce6c79..0000000
> > --- a/gdb/config/i386/nm-i386gnu.h
> > +++ /dev/null
>
> > -extern char *gnu_target_pid_to_str (int pid);
>
> (This indeed isn't used / defined anywhere.)
Pushed to master the attached commit
b1041ae0ae8a2f1c51e75b45004686f1956078ed "[gdb, hurd] Remove long
obsolete 'gnu_target_pid_to_str' function declaration".
Grüße
Thomas
>From b1041ae0ae8a2f1c51e75b45004686f1956078ed Mon Sep 17 00:00:00 2001
From: Thomas Schwinge <thomas@codesourcery.com>
Date: Tue, 29 Mar 2011 14:02:11 +0200
Subject: [PATCH] [gdb, hurd] Remove long obsolete 'gnu_target_pid_to_str'
function declaration
... for function definition removed/renamed in 1999. ;-)
gdb/
* config/i386/nm-i386gnu.h (gnu_target_pid_to_str): Remove.
---
gdb/ChangeLog | 4 ++++
gdb/config/i386/nm-i386gnu.h | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 34fe174cb2..e6d86e2552 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2019-02-14 Thomas Schwinge <thomas@codesourcery.com>
+
+ * config/i386/nm-i386gnu.h (gnu_target_pid_to_str): Remove.
+
2019-02-14 Frederic Konrad <konrad@adacore.com>
* riscv-rdep.c (riscv_type_alignment): Handle TYPE_CODE_RANGE.
diff --git a/gdb/config/i386/nm-i386gnu.h b/gdb/config/i386/nm-i386gnu.h
index 99f3fc79a0..8f36102da4 100644
--- a/gdb/config/i386/nm-i386gnu.h
+++ b/gdb/config/i386/nm-i386gnu.h
@@ -24,8 +24,6 @@
#include <mach/exception.h>
#include "regcache.h"
-extern char *gnu_target_pid_to_str (int pid);
-
/* Thread flavors used in re-setting the T bit. */
#define THREAD_STATE_FLAVOR i386_REGS_SEGS_STATE
#define THREAD_STATE_SIZE i386_THREAD_STATE_COUNT
--
2.19.2