]> git.pld-linux.org Git - packages/gdb.git/blame - gdb-6.5-bz190810-gdbserver-arch-advice.patch
- obsolete file
[packages/gdb.git] / gdb-6.5-bz190810-gdbserver-arch-advice.patch
CommitLineData
3a58abaf
AM
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.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);
16 }
17
18- if (*p != ';')
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. */
23+ if (*p != ';')
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'."),
27 buf, p);
28 ++p;
29 }
This page took 0.037547 seconds and 4 git commands to generate.