Re: Signal values

Fabian Cenedese
2004-09-03T14:04:50Z

>> But when I send a 10 gdb tells me it's a SIGBUS which would go along this
>> list from binutils/include/gdb/signals.h:
>>
>> enum target_signal
>> {
>> TARGET_SIGNAL_0 = 0,
>
>These are remote protocol signal numbers. They are target independent.

So then I will go for this.

>> And as aside question: which one is the signal that says the target has
>> reached a breakpoint?
>
>SIGTRAP.

I already thought so. But it seems I'm still doing something wrong. I have
a stopped thread which I want to single step. After sending the s gdb waits,
I guess until it receives a stop packet. But when I return SIGTRAP gdb
immediately continues the thread... I need to investigate some more.

Thanks

bye Fabi