public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* RE: Breakpoint limit reached
@ 2005-08-03 20:53 Fahd Abidi
  0 siblings, 0 replies; 3+ messages in thread
From: Fahd Abidi @ 2005-08-03 20:53 UTC (permalink / raw)
  To: Shaun Jackman, Abatron Support; +Cc: gdb

The BDI understands to set SoftBreak points and hardware breakpoints
using the break and hbreak command in GDB. There should be no issue that
I know of. Maybe Ruedi can tell us if there is any known issue.

Fahd
 

-----Original Message-----
From: Shaun Jackman [mailto:sjackman@gmail.com] 
Sent: Wednesday, August 03, 2005 4:20 PM
To: Abatron Support; Ultimate Solutions Support
Cc: gdb@sources.redhat.com
Subject: Breakpoint limit reached

Hello,

I'm debugging an ARM7TDMI with the BDI2000 and arm-elf-gdb 6.3. I have
one breakpoint set, and when I try to step over a function call using
the gdb "next" command, setting the breakpoint fails:
# TARGET: breakpoint limit reached

GDB displays this error message:
Cannot insert breakpoint 0.
Error accessing memory address 0x20008f0: Unknown error 4294967295.

I have soft breakpoints enabled on the BDI (BREAKMODE SOFT 0xDFFFDFFF)
and I'm setting soft breakpoints using gdb. I don't understand why
there would be a limit on the number of breakpoints.

If I 'set debug remote 1' then the final two packets displayed by gdb
are...
Sending packet: $m20008f0,4#5d...Ack
Packet received: 021c3b1c
Sending packet: $Z0,20008f0,2#a4...Ack
Packet received: E03

Why did the soft breakpoint, Z0, command fail? What does the error
code E03 mean? Does the BDI2000 differentiate between the soft
breakpoint "break" command Z0 packet, and the hard breakpoint "hbreak"
command Z1 packet?

Thanks,
Shaun Jackman
Pathway Connectivity

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Breakpoint limit reached
  2005-08-03 20:19 Shaun Jackman
@ 2005-08-04  5:33 ` Abatron Support
  0 siblings, 0 replies; 3+ messages in thread
From: Abatron Support @ 2005-08-04  5:33 UTC (permalink / raw)
  To: Shaun Jackman; +Cc: Ultimate Solutions Support, gdb

Hi Shaun

Does this happens immediately?
The BDI supports 32 software breakpoints.
Please log the complete debug session so we see how many
Z0 packets are sent.
Is it possible that breakpoints are set but not removed?
A breakpoint is removed with the z0 packet that matches
the Z0 packet in address and length.
Show me such a Z0 / z0 pair.
From your log, I see that you set a Thumb breakpoint because
length is 2. Do the z0 packets also have a length of 2?

The BDI supports also the Z1 packet for hbreak.
What is the BDI firmware version you work with?

Regards,
Ruedi


> Hello,

> I'm debugging an ARM7TDMI with the BDI2000 and arm-elf-gdb 6.3. I have
> one breakpoint set, and when I try to step over a function call using
> the gdb "next" command, setting the breakpoint fails:
> # TARGET: breakpoint limit reached

> GDB displays this error message:
> Cannot insert breakpoint 0.
> Error accessing memory address 0x20008f0: Unknown error 4294967295.

> I have soft breakpoints enabled on the BDI (BREAKMODE SOFT 0xDFFFDFFF)
> and I'm setting soft breakpoints using gdb. I don't understand why
> there would be a limit on the number of breakpoints.

> If I 'set debug remote 1' then the final two packets displayed by gdb are...
> Sending packet: $m20008f0,4#5d...Ack
> Packet received: 021c3b1c
> Sending packet: $Z0,20008f0,2#a4...Ack
> Packet received: E03

> Why did the soft breakpoint, Z0, command fail? What does the error
> code E03 mean? Does the BDI2000 differentiate between the soft
> breakpoint "break" command Z0 packet, and the hard breakpoint "hbreak"
> command Z1 packet?

> Thanks,
> Shaun Jackman
> Pathway Connectivity


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Breakpoint limit reached
@ 2005-08-03 20:19 Shaun Jackman
  2005-08-04  5:33 ` Abatron Support
  0 siblings, 1 reply; 3+ messages in thread
From: Shaun Jackman @ 2005-08-03 20:19 UTC (permalink / raw)
  To: Abatron Support, Ultimate Solutions Support; +Cc: gdb

Hello,

I'm debugging an ARM7TDMI with the BDI2000 and arm-elf-gdb 6.3. I have
one breakpoint set, and when I try to step over a function call using
the gdb "next" command, setting the breakpoint fails:
# TARGET: breakpoint limit reached

GDB displays this error message:
Cannot insert breakpoint 0.
Error accessing memory address 0x20008f0: Unknown error 4294967295.

I have soft breakpoints enabled on the BDI (BREAKMODE SOFT 0xDFFFDFFF)
and I'm setting soft breakpoints using gdb. I don't understand why
there would be a limit on the number of breakpoints.

If I 'set debug remote 1' then the final two packets displayed by gdb are...
Sending packet: $m20008f0,4#5d...Ack
Packet received: 021c3b1c
Sending packet: $Z0,20008f0,2#a4...Ack
Packet received: E03

Why did the soft breakpoint, Z0, command fail? What does the error
code E03 mean? Does the BDI2000 differentiate between the soft
breakpoint "break" command Z0 packet, and the hard breakpoint "hbreak"
command Z1 packet?

Thanks,
Shaun Jackman
Pathway Connectivity

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-04  5:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-03 20:53 Breakpoint limit reached Fahd Abidi
  -- strict thread matches above, loose matches on Subject: below --
2005-08-03 20:19 Shaun Jackman
2005-08-04  5:33 ` Abatron Support

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).