diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-04-29 19:44:22 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-04-29 19:44:22 +0000 |
commit | 3e00823eb4110b19fff21fe8cfc01f5c20c3b112 (patch) | |
tree | 5201c5ad3b82a2408d51950abf10ead08d84ac7e /gdb/mips-linux-tdep.c | |
parent | b1d53152e0cda88893253882fd974c2c4b142fe9 (diff) | |
download | gdb-3e00823eb4110b19fff21fe8cfc01f5c20c3b112.zip gdb-3e00823eb4110b19fff21fe8cfc01f5c20c3b112.tar.gz gdb-3e00823eb4110b19fff21fe8cfc01f5c20c3b112.tar.bz2 |
* m68klinux-nat.c: Remove #ifndef USE_PROC_FS check.
* m68k-tdep.c: Remove code within #ifdef USE_PROC_FS.
* mips-linux-nat.c: Include "gregset.h".
(supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move
from mips-linux-tdep.c. Change parameter type to gdb_gregset_t.
* mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
fill_fpregset): Move to mips-linux-nat.c.
* Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies.
Diffstat (limited to 'gdb/mips-linux-tdep.c')
-rw-r--r-- | gdb/mips-linux-tdep.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/gdb/mips-linux-tdep.c b/gdb/mips-linux-tdep.c index dec2f42..dd04af0 100644 --- a/gdb/mips-linux-tdep.c +++ b/gdb/mips-linux-tdep.c @@ -979,48 +979,6 @@ mips_linux_n32n64_sigframe_init (const struct tramp_frame *self, func)); } -/* Wrapper functions. These are only used by libthread_db. */ - -void -supply_gregset (mips_elf_gregset_t *gregsetp) -{ - if (mips_isa_regsize (current_gdbarch) == 4) - mips_supply_gregset (gregsetp); - else - mips64_supply_gregset ((void *) gregsetp); -} - -void -fill_gregset (mips_elf_gregset_t *gregsetp, int regno) -{ - if (mips_isa_regsize (current_gdbarch) == 4) - mips_fill_gregset (gregsetp, regno); - else - mips64_fill_gregset ((void *) gregsetp, regno); -} - -/* Likewise, unpack an elf_fpregset_t. */ - -void -supply_fpregset (mips_elf_fpregset_t *fpregsetp) -{ - if (mips_isa_regsize (current_gdbarch) == 4) - mips_supply_fpregset (fpregsetp); - else - mips64_supply_fpregset ((void *) fpregsetp); -} - -/* Likewise, pack one or all floating point registers into an - elf_fpregset_t. */ - -void -fill_fpregset (mips_elf_fpregset_t *fpregsetp, int regno) -{ - if (mips_isa_regsize (current_gdbarch) == 4) - mips_fill_fpregset (fpregsetp, regno); - else - mips64_fill_fpregset ((void *) fpregsetp, regno); -} /* Initialize one of the GNU/Linux OS ABIs. */ |