This is the mail archive of the gdb-patches@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] |
Other format: | [Raw text] |
This patch introduces a new event that gets triggered when a new program
is being debugged. It then uses this to fix some FIXMEs in the hppa tdep code, and remove some #ifdef HPUXHPPA's that are scattered in
arch-indep code.
There is also one unrelated HPUXHPPA cleanup in thread.c. The old code used to do:
#ifdef HPUXHPPA printf_filtered ("%d %s", tp->num, target_tid_to_str (tp->ptid)); #else printf_filtered ("%d %s", tp->num, target_pid_to_str (tp->ptid)); #endif
tm-hppah.h overrode target_tid_to_str to do it's own thing. The default target.h definition checks to see if there's a target_tid_to_str define, and if not automatically reverts to target_pid_to_str, so the #ifdef here is useless.
Tested on hppa-linux and hppa2.0w-hp-hpux11.11 with no regressions.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |