Re: GDB Remote debug: Why several "$Z0,address,length" msg when only set one breakpoint?
Yao Qi <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Peng Fan <[email protected]> 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 (齐尧)