From: Aleksandar Ristovski <aristovski@qnx.com>
To: gdb-patches@sources.redhat.com
Subject: [patch] nto-tdep cleanup
Date: Thu, 11 Jun 2009 20:05:00 -0000 [thread overview]
Message-ID: <h0rnul$2oh$1@ger.gmane.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 375 bytes --]
Hello,
Yet another. This removes unused declarations/functions from
nto-tdep*.
Thanks,
--
Aleksandar Ristovski
QNX Software Systems
ChangeLog:
* nto-tdep.h (nto_generic_supply_gpregset)
(nto_generic_supply_fpregset, nto_generic_supply_altregset):
Remove.
* nto-tdep.c (nto_generic_supply_gpregset)
(nto_generic_supply_fpregset, nto_generic_supply_altregset):
Remove.
[-- Attachment #2: nto-tdep-removeunused-20090611.diff --]
[-- Type: text/x-patch, Size: 1843 bytes --]
Index: gdb/nto-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/nto-tdep.h,v
retrieving revision 1.15
diff -u -p -r1.15 nto-tdep.h
--- gdb/nto-tdep.h 11 Jun 2009 19:29:00 -0000 1.15
+++ gdb/nto-tdep.h 11 Jun 2009 19:56:42 -0000
@@ -156,15 +156,6 @@ enum gdb_osabi nto_elf_osabi_sniffer (bf
void nto_initialize_signals (void);
-void nto_generic_supply_gpregset (const struct regset *, struct regcache *,
- int, const void *, size_t);
-
-void nto_generic_supply_fpregset (const struct regset *, struct regcache *,
- int, const void *, size_t);
-
-void nto_generic_supply_altregset (const struct regset *, struct regcache *,
- int, const void *, size_t);
-
/* Dummy function for initializing nto_target_ops on targets which do
not define a particular regset. */
void nto_dummy_supply_regset (struct regcache *regcache, char *regs);
Index: gdb/nto-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/nto-tdep.c,v
retrieving revision 1.33
diff -u -p -r1.33 nto-tdep.c
--- gdb/nto-tdep.c 11 Jun 2009 19:29:00 -0000 1.33
+++ gdb/nto-tdep.c 11 Jun 2009 19:56:42 -0000
@@ -328,27 +328,6 @@ nto_in_dynsym_resolve_code (CORE_ADDR pc
}
void
-nto_generic_supply_gpregset (const struct regset *regset,
- struct regcache *regcache, int regnum,
- const void *gregs, size_t len)
-{
-}
-
-void
-nto_generic_supply_fpregset (const struct regset *regset,
- struct regcache *regcache, int regnum,
- const void *fpregs, size_t len)
-{
-}
-
-void
-nto_generic_supply_altregset (const struct regset *regset,
- struct regcache *regcache, int regnum,
- const void *altregs, size_t len)
-{
-}
-
-void
nto_dummy_supply_regset (struct regcache *regcache, char *regs)
{
/* Do nothing. */
next reply other threads:[~2009-06-11 20:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-11 20:05 Aleksandar Ristovski [this message]
2009-06-12 1:18 ` Joel Brobecker
2009-06-12 2:32 ` Aleksandar Ristovski
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='h0rnul$2oh$1@ger.gmane.org' \
--to=aristovski@qnx.com \
--cc=gdb-patches@sources.redhat.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