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/9e78becc3bca
branches:  trunk
changeset: 1017013:9e78becc3bca
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 7f19e86f67c1 -r 9e78becc3bca 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