This is the mail archive of the gdb@sources.redhat.com 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]

per thread breakpoints



Hi, 

It seems to me that gdb core does NOT seriously support per thread breaks:

1. target_insert_breakpoint() is unaware about thread associated with
   a breakpoint.

2. insert_breakpoints() does not do any dances with inferior pids before 
   and after calls to target_insert_breakpoint().

I would suppose it should be fixed ASAP (e.g. by adding pid argument to 
to the target_insert_breakpoint): it is a huge resource hog in 
case of remote debugging and it seems like linux threads would also
greatly benefit from this improvement.

Thanks,

Aleksey




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