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 Avoid an unused variable (breakin...



details:   https://anonhg.NetBSD.org/src/rev/b41f6434e73f
branches:  trunk
changeset: 946812:b41f6434e73f
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Dec 10 16:07:26 2020 +0000

description:
Avoid an unused variable (breaking the build)

diffstat:

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

diffs (12 lines):

diff -r 11c9583d9e0d -r b41f6434e73f external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c Thu Dec 10 08:16:59 2020 +0000
+++ b/external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c Thu Dec 10 16:07:26 2020 +0000
@@ -170,7 +170,7 @@
                            CORE_ADDR func)
 {
   struct gdbarch *gdbarch = get_frame_arch (next_frame);
-  struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
+  // struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
   int sp_regnum = gdbarch_sp_regnum (gdbarch);
   CORE_ADDR sp = get_frame_register_unsigned (next_frame, sp_regnum);
   CORE_ADDR base;



Home | Main Index | Thread Index | Old Index