Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gdb - No hardware breakpoint support in the target

I'm tring to set hardware breakpoint using gdb hbreak command

hbreak *address

but I'm getting the following error: "No hardware breakpoint support in the target".

Is there anyway to fix this problem?

like image 624
Jah Avatar asked Feb 03 '26 12:02

Jah


1 Answers

Try the start command first. GDB often says that when the program has not been started yet even if there is hardware support (this is a very misleading message in this context).

like image 187
Alex Avatar answered Feb 05 '26 04:02

Alex



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!