1 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=190810
4 2006-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6 * remote.c (remote_wait): Suggestion on crash due to nonmatching target.
7 (remote_async_wait): Likewise.
10 Index: gdb-6.8.50.20081128/gdb/remote.c
11 ===================================================================
12 --- gdb-6.8.50.20081128.orig/gdb/remote.c 2008-12-09 16:59:51.000000000 +0100
13 +++ gdb-6.8.50.20081128/gdb/remote.c 2008-12-09 17:00:04.000000000 +0100
14 @@ -4329,8 +4329,13 @@ Packet: '%s'\n"),
15 VEC_safe_push (cached_reg_t, event->regcache, &cached_reg);
19 - error (_("Remote register badly formatted: %s\nhere: %s"),
20 + /* It may also occur on amd64 which defaults to 32-bit i386
21 + target. gdbserver(1) is not aware of the `set architecture'
22 + name itself as it is not using libbfd. */
24 + error (_("Remote register badly formatted: %s\nhere: %s"
25 + "\nTry to load the executable by `file' first,"
26 + "\nyou may also check `set/show architecture'."),