This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB Remote debug: Why several "$Z0,address,length" msg when only set one breakpoint?
- From: Yao Qi <yao at codesourcery dot com>
- To: Peng Fan <van dot freenix at gmail dot com>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Wed, 27 Aug 2014 20:11:46 +0800
- Subject: Re: GDB Remote debug: Why several "$Z0,address,length" msg when only set one breakpoint?
- Authentication-results: sourceware.org; auth=none
- References: <53FC2FC1 dot 9080600 at gmail dot com> <87mwaqixh2 dot fsf at codesourcery dot com> <53FD8D31 dot 9010507 at gmail dot com>
Peng Fan <van.freenix@gmail.com> writes:
> 0x87800000 is the entry symbol address of u-boot elf of my platform.
> 1
> 2 u-boot: file format elf32-littlearm
> 3
> 4
> 5 Disassembly of section .text:
> 6
> 7 87800000 <__image_copy_start>:
> 8 87800000: 11 00 00 ea 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5
> 9 87800010: 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5
GDB is interested in entry address, but I don't know why GDB insert
breakpoint there. In GDB, command 'maintenance info breakpoints' can
list all the user breakpoints and internal breakpoints. If it still
doesn't help, you can debug your gdb, set breakpoint
remote_insert_breakpoint, and check why the breakpoint is inserted at
0x87800000.
--
Yao (éå)