This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB Remote debug: Why several "$Z0,address,length" msg when only set one breakpoint?


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]