Discussion:
gdbstub initial code, v13
Oleg Nesterov
2010-10-07 23:10:50 UTC
Permalink
Changes:

- misc fixes in readmem, pb, etc

- remove the obsolete getregs code

- $G remains buggy, will be fixed later.
gdb seems to never use it as far as $P works

- full vCont support.

Well, this was easy, except even after 3 hours
of debugging I can't understand why this change
breaks the stepping over pthread_create :/
Otherwise it seems to work.
Will continue tomorrow.

Next: software watchpoints.

Oleg.
Oleg Nesterov
2010-10-11 18:27:20 UTC
Permalink
Post by Oleg Nesterov
- full vCont support.
Well, this was easy, except even after 3 hours
of debugging I can't understand why this change
breaks the stepping over pthread_create :/
Oh, it doesn't break. I did a lot of mistakes when I was trying
to understand what happens. In short, GDBCAT was buggy, it used
the wrong socket for TCP_NODELAY.

Damn, it took me almost 2 days.

Oleg.

Loading...