Module Name: src
Committed By: martin
Date: Fri Oct 1 17:20:32 UTC 2021
Modified Files:
src/external/gpl3/gdb/dist/gdb: alpha-nbsd-tdep.c
Log Message:
Make this compilable as tool with MKCROSSGDB=yes
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c
diff -u src/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c:1.9 src/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c:1.10
--- src/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c:1.9 Sat Dec 5 22:14:44 2020
+++ src/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c Fri Oct 1 17:20:32 2021
@@ -161,6 +161,12 @@ static const struct regset alphanbsd_fpr
/* 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 @@ alphanbsd_sigtramp_cache_init (const str
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;