Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/gdb/gdb Add thread support (XXX - not realy functio...



details:   https://anonhg.NetBSD.org/src/rev/05f49eb1a848
branches:  trunk
changeset: 552001:05f49eb1a848
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Sep 15 18:53:43 2003 +0000

description:
Add thread support (XXX - not realy functional yet)

diffstat:

 gnu/dist/gdb/gdb/sparc64nbsd-nat.c |  41 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)

diffs (48 lines):

diff -r dc7b06698543 -r 05f49eb1a848 gnu/dist/gdb/gdb/sparc64nbsd-nat.c
--- a/gnu/dist/gdb/gdb/sparc64nbsd-nat.c        Mon Sep 15 18:35:02 2003 +0000
+++ b/gnu/dist/gdb/gdb/sparc64nbsd-nat.c        Mon Sep 15 18:53:43 2003 +0000
@@ -205,3 +205,44 @@
        return;
     }
 }
+
+void
+nbsd_reg_to_internal (rgs)
+       char *rgs;
+{
+  if (gdbarch_ptr_bit (current_gdbarch) == 32)
+    sparcnbsd_supply_reg32(rgs, -1);
+  else
+    sparcnbsd_supply_reg64(rgs, -1);
+}
+
+void
+nbsd_fpreg_to_internal (frgs)
+       char *frgs;
+{
+  if (gdbarch_ptr_bit (current_gdbarch) == 32)
+    sparcnbsd_supply_fpreg32(frgs, -1);
+  else
+    sparcnbsd_supply_fpreg64(frgs, -1);
+}
+
+void
+nbsd_internal_to_reg (regs)
+       char *regs;
+{
+  if (gdbarch_ptr_bit (current_gdbarch) == 32)
+    sparcnbsd_fill_reg32(regs, -1);
+  else
+    sparcnbsd_fill_reg64(regs, -1);
+}
+
+void
+nbsd_internal_to_fpreg (fpregs)
+       char *fpregs;
+{
+  if (gdbarch_ptr_bit (current_gdbarch) == 32)
+    sparcnbsd_fill_fpreg32(fpregs, -1);
+  else
+    sparcnbsd_fill_fpreg64(fpregs, -1);
+}
+



Home | Main Index | Thread Index | Old Index