Macros in config files.

Ulrich Weigand uweigand@de.ibm.com
Thu May 14 18:31:00 GMT 2009


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



More information about the Gdb-patches mailing list