]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - gdb/patches/gdb-6.5-bz190810-gdbserver-arch-advice.patch
wget: LDFLAGS were accidentially overwritten
[people/arne_f/ipfire-3.x.git] / gdb / patches / gdb-6.5-bz190810-gdbserver-arch-advice.patch
CommitLineData
5a03b7c3
MT
1https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=190810
2
3
42006-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5
6 * remote.c (remote_wait): Suggestion on crash due to nonmatching target.
7 (remote_async_wait): Likewise.
8
9
10Index: gdb-6.8.50.20090818/gdb/remote.c
11===================================================================
12--- gdb-6.8.50.20090818.orig/gdb/remote.c 2009-08-18 21:00:35.000000000 +0200
13+++ gdb-6.8.50.20090818/gdb/remote.c 2009-08-18 21:04:46.000000000 +0200
14@@ -4408,8 +4408,13 @@ Packet: '%s'\n"),
15 VEC_safe_push (cached_reg_t, event->regcache, &cached_reg);
16 }
17
18+ /* It may also occur on amd64 which defaults to 32-bit i386
19+ target. gdbserver(1) is not aware of the `set architecture'
20+ name itself as it is not using libbfd. */
21 if (*p != ';')
22- error (_("Remote register badly formatted: %s\nhere: %s"),
23+ error (_("Remote register badly formatted: %s\nhere: %s"
24+ "\nTry to load the executable by `file' first,"
25+ "\nyou may also check `set/show architecture'."),
26 buf, p);
27 ++p;
28 }