Article View: gnu.gdb.bug
Article #1647target remote: could not set breakpoint
From: Radu Grigore
Date: Wed, 10 Jul 2002 08:13
Date: Wed, 10 Jul 2002 08:13
83 lines
3627 bytes
3627 bytes
I'm not sure if this is a bug. Background: ---------- GDB version 5.2. Compiled using uclibc like this: - configure - make - cd gdb/gdbserver - joe Makefile # so it uses ARM compiler (as specified on www.uclibc.org) - make The target has an ARM processor and is connected to the i686 host using Ethernet. The problem: ------------ The commands: - on target: gdbsever host_ip:123 test.arm - on host: gdb test.arm, target remote target_ip:123, break main, continue The response (on host) is: warning: Cannot insert breakpoint -3: Cannot access memory at address 0x207c By using "set debug remote 1" the following information is obtained: -------------------------------------------------------- remote debugging using 10.32.0.19:123 Sending packet: $Hc-1#09...Ack Packet received: OK Sending packet: $qC#b4...Ack Packet received: Sending packet: $qOffsets#4b...Ack Packet received: Sending packet: $?#3f...Ack Packet received: T0508:00000000;05:00000000;04:2c0e0040; Sending packet: $m0,8#01...Ack Packet received: ffffffffffffffff Sending packet: $m0,7#00...Ack Packet received: ffffffffffffff 0x00000000 in ?? () Sending packet: $m10394,60#00...Ack Packet received: 01000000010000000400000000810000050000002c820000060000004c8100000a000000960000000b00000010000000150000000000000003000000800301000200000010000000140000001100000017000000c48200000000000000000000 Sending packet: $qSymbol::#5b...Ack Packet received: Packet qSymbol (symbol-lookup) is NOT supported (gdb) break main Sending packet: $m8320,1#97...Ack Packet received: 0d Sending packet: $m8320,1#97...Ack Packet received: 0d Note: breakpoint 1 also set at pc 0x8320. Breakpoint 2 at 0x8320: file test.c, line 4. (gdb) c Continuing. Sending packet: $Z0,8320,1#e0...Ack Packet received: Packet Z0 (software-breakpoint) is NOT supported Sending packet: $m8320,1#97...Ack Packet received: 0d Sending packet: $X8320,0:#bb...Ack Packet received: binary downloading NOT suppported by target Sending packet: $M8320,1:cc#77...Ack Packet received: OK Sending packet: $m207c,1#c6...Ack Packet received: ff Sending packet: $M207c,1:cc#a6...Ack Packet received: ENN Sending packet: $M207c,1:cc#a6...Ack Packet received: ENN warning: Cannot insert breakpoint -3: Cannot access memory at address 0x207c ----------------------------------------------------------------- Why does the target not support those things (symbol-lookup, software-breakpoint, binary d/l)?
Technical Details
Message-ID:
<5c77fd19.0207100013.586f10bc@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,d9fee6dd21e7011,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 2002-07-10 01:13:15 PST x-uunet-gateway: dfw7sosrv11.alter.net from bug-gdb to gnu.gdb.bug; Wed, 10 Jul 2002 08:13:19 GMT Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!not-for-mail From: radugrigore@ieee.org (Radu Grigore) Subject: target remote: could not set breakpoint Date: 10 Jul 2002 01:13:02 -0700 Organization: http://groups.google.com/ Message-ID: <5c77fd19.0207100013.586f10bc@posting.google.com> NNTP-Posting-Host: 62.231.64.55 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1026288783 13591 127.0.0.1 (10 Jul 2002 08:13:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 10 Jul 2002 08:13:03 GMT Approved: bug-gdb-request@mail.gnu.org Newsgroups: gnu.gdb.bug Sender: bug-gdb-request@mail.gnu.org Lines: 83