From 23e58846996ff466616cfe3b808143c3d762036b Mon Sep 17 00:00:00 2001 From: Bernhard Fischer Date: Mon, 29 Sep 2008 22:05:21 +0200 Subject: [PATCH] fix typo in old_fetch_inferior_registers on m68k --- toolchain/gdb/6.8/700-m68klinux-nat_typo.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 toolchain/gdb/6.8/700-m68klinux-nat_typo.patch diff --git a/toolchain/gdb/6.8/700-m68klinux-nat_typo.patch b/toolchain/gdb/6.8/700-m68klinux-nat_typo.patch new file mode 100644 index 0000000..0ca708c --- /dev/null +++ b/toolchain/gdb/6.8/700-m68klinux-nat_typo.patch @@ -0,0 +1,12 @@ +diff -rdup gdb-6.8.oorig/gdb/m68klinux-nat.c gdb-6.8/gdb/m68klinux-nat.c +--- gdb-6.8.oorig/gdb/m68klinux-nat.c 2008-02-18 20:58:27.000000000 +0100 ++++ gdb-6.8/gdb/m68klinux-nat.c 2008-09-29 21:53:44.000000000 +0200 +@@ -179,7 +179,7 @@ old_fetch_inferior_registers (struct reg + static void + store_register (const struct regcache *regcache, int regno) + { +- struct gdbarch *gdbarch = reg_regcache_arch (regcache); ++ struct gdbarch *gdbarch = get_regcache_arch (regcache); + /* This isn't really an address. But ptrace thinks of it as one. */ + CORE_ADDR regaddr; + char mess[128]; /* For messages */ -- 2.11.4.GIT