]> git.pld-linux.org Git - packages/gdb.git/blob - gdb-6.5-bz190810-gdbserver-arch-advice.patch
- update to 6.8.91.20090930-1 from fedora
[packages/gdb.git] / gdb-6.5-bz190810-gdbserver-arch-advice.patch
1 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=190810
2
3
4 2006-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
10 Index: 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         }
This page took 0.070215 seconds and 3 git commands to generate.