Module Name:    src
Committed By:   martin
Date:           Thu Dec 10 16:07:26 UTC 2020

Modified Files:
        src/external/gpl3/gdb/dist/gdb: sh-nbsd-tdep.c

Log Message:
Avoid an unused variable (breaking the build)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gdb/dist/gdb/sh-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/sh-nbsd-tdep.c
diff -u src/external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c:1.10 src/external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c:1.11
--- src/external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c:1.10	Sun Dec  6 04:08:51 2020
+++ src/external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c	Thu Dec 10 16:07:26 2020
@@ -170,7 +170,7 @@ shnbsd_sigtramp_cache_init (const struct
 			    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;

Reply via email to