unset INITRAMFS_SOURCE if appropriate
[buildroot.git] / toolchain / gdb / 6.8 / 700-m68klinux-nat_typo.patch
blob0ca708c1ead4a1faba0bd13b55a634f8934d6dcc
1 diff -rdup gdb-6.8.oorig/gdb/m68klinux-nat.c gdb-6.8/gdb/m68klinux-nat.c
2 --- gdb-6.8.oorig/gdb/m68klinux-nat.c 2008-02-18 20:58:27.000000000 +0100
3 +++ gdb-6.8/gdb/m68klinux-nat.c 2008-09-29 21:53:44.000000000 +0200
4 @@ -179,7 +179,7 @@ old_fetch_inferior_registers (struct reg
5 static void
6 store_register (const struct regcache *regcache, int regno)
8 - struct gdbarch *gdbarch = reg_regcache_arch (regcache);
9 + struct gdbarch *gdbarch = get_regcache_arch (regcache);
10 /* This isn't really an address. But ptrace thinks of it as one. */
11 CORE_ADDR regaddr;
12 char mess[128]; /* For messages */