This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Macros in config files.
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: muller at ics dot u-strasbg dot fr (Pierre Muller)
- Cc: gdb-patches at sourceware dot org, pedro at codesourcery dot com ('Pedro Alves'), eliz at gnu dot org ('Eli Zaretskii')
- Date: Thu, 14 May 2009 20:30:59 +0200 (CEST)
- Subject: Re: Macros in config files.
Pierre Muller wrote:
> nm CODESET
This seems a false positive.
> nm ADD_SHARED_SYMBOL_FILES
> nm FILL_FPXREGSET
> nm GET_THREAD_SIGNALS
> nm THREAD_STATE_CLEAR_TRACED
> nm THREAD_STATE_FLAVOR
> nm THREAD_STATE_SET_TRACED
> nm THREAD_STATE_SIZE
These should be easy to get rid of.
> nm GDB_FPREGSET_T
> nm GDB_GREGSET_T
> nm REALTIME_HI
> nm REALTIME_LO
These should probably be set via configure.
> nm START_INFERIOR_TRAPS_EXPECTED
> nm PROCFS_DONT_TRACE_FAULTS
> nm PROCFS_NEED_CLEAR_CURSIG_FOR_KILL
> nm TARGET_HAS_HARDWARE_WATCHPOINTS
> nm CANNOT_STEP_HW_WATCHPOINTS
That's the procfs targets ... The proper solution would
probably be to create real procfs "subtarget", as was done
for e.g. the Linux target. Not sure if this is worth the
effort ... a quick hack might be platform #ifdefs in procfs.
> nm DEPRECATED_IBM6000_TARGET
> nm PC_SOLIB
> nm SOLIB_ADD
> nm SOLIB_CREATE_INFERIOR_HOOK
That's difficult -- AIX shared library support needs to be
re-implemented from scratch in the new framework. I'd
already started to do that some time ago but got side-
tracked ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com