Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb remove unused code



details:   https://anonhg.NetBSD.org/src/rev/a9ae7e98a6d4
branches:  trunk
changeset: 828696:a9ae7e98a6d4
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 27 19:20:41 2017 +0000

description:
remove unused code
XXX: we should remove this from all archs

diffstat:

 external/gpl3/gdb/dist/gdb/amd64-nbsd-nat.c |  39 -----------------------------
 1 files changed, 0 insertions(+), 39 deletions(-)

diffs (49 lines):

diff -r a525b48779ad -r a9ae7e98a6d4 external/gpl3/gdb/dist/gdb/amd64-nbsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/amd64-nbsd-nat.c       Wed Dec 27 19:20:04 2017 +0000
+++ b/external/gpl3/gdb/dist/gdb/amd64-nbsd-nat.c       Wed Dec 27 19:20:41 2017 +0000
@@ -122,45 +122,6 @@
   return 1;
 }
 
-void
-supply_gregset (struct regcache *regcache, const gregset_t *gregsetp)
-{
-  amd64_supply_native_gregset (regcache, gregsetp, -1);
-}
-
-/* Fill register REGNUM (if it is a general-purpose register) in
-   *GREGSETP with the value in GDB's register cache.  If REGNUM is -1,
-   do this for all registers.  */
-
-void
-fill_gregset (const struct regcache *regcache,
-             gregset_t *gregsetp, int regnum)
-{
-  amd64_collect_native_gregset (regcache, gregsetp, regnum);
-}
-
-/* Transfering floating-point registers between GDB, inferiors and cores.  */
-
-/* Fill GDB's register cache with the floating-point and SSE register
-   values in *FPREGSETP.  */
-
-void
-supply_fpregset (struct regcache *regcache, const fpregset_t *fpregsetp)
-{
-  amd64_supply_fxsave (regcache, -1, fpregsetp);
-}
-
-/* Fill register REGNUM (if it is a floating-point or SSE register) in
-   *FPREGSETP with the value in GDB's register cache.  If REGNUM is
-   -1, do this for all registers.  */
-
-void
-fill_fpregset (const struct regcache *regcache,
-              fpregset_t *fpregsetp, int regnum)
-{
-  amd64_collect_fxsave (regcache, regnum, fpregsetp);
-}
-
 /* Provide a prototype to silence -Wmissing-prototypes.  */
 void _initialize_amd64nbsd_nat (void);
 



Home | Main Index | Thread Index | Old Index