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 Make this compilable as tool with...



details:   https://anonhg.NetBSD.org/src/rev/0ec33ab0f756
branches:  trunk
changeset: 1023905:0ec33ab0f756
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Oct 01 17:20:32 2021 +0000

description:
Make this compilable as tool with MKCROSSGDB=yes

diffstat:

 external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 4112a92a610f -r 0ec33ab0f756 external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c      Fri Oct 01 17:13:44 2021 +0000
+++ b/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c      Fri Oct 01 17:20:32 2021 +0000
@@ -161,6 +161,12 @@
 
 /* Iterate over supported core file register note sections. */
 
+
+void
+alphanbsd_iterate_over_regset_sections (struct gdbarch *gdbarch,
+                                       iterate_over_regset_sections_cb *cb,
+                                       void *cb_data,
+                                       const struct regcache *regcache);
 void
 alphanbsd_iterate_over_regset_sections (struct gdbarch *gdbarch,
                                        iterate_over_regset_sections_cb *cb,
@@ -239,8 +245,8 @@
                               struct trad_frame_cache *this_cache,
                               CORE_ADDR func)
 {
-  struct gdbarch *gdbarch = get_frame_arch (this_frame);
-  struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
+  /* struct gdbarch *gdbarch = get_frame_arch (this_frame); */
+  /* struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); */
   CORE_ADDR addr, sp;
   int i;
 



Home | Main Index | Thread Index | Old Index