[RFA] Don't talk about ptrace when there's none

Daniel Berlin+list.gdb-patches dan@cgsoftware.com
Thu Apr 6 05:43:00 GMT 2000


>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

Isn't there a test for PTRACE in the configuration script?
Can't we use that somehow, rather than __DJGPP__?
maybe HAVE_PTRACE exists in config.h?

I ask because we don't have ptrace on BeOS either, and i don't think
we want to have more than one ifdef.
--Dan

    Eli> When GDB cannot insert breakpoints or watchpoints, it prints
    Eli> an error messages that can confuse users of the DJGPP version
    Eli> (since there's no ptrace, and no ``other processes'' either).

    Eli> To fix this, I would like to check in the following patches:

    Eli> 2000-04-05 Eli Zaretskii <eliz@is.elta.co.il>

    Eli> 	* infrun.c (proceed) [__DJGPP__]: Don't talk about
    Eli> ptrace.  Make the error message be clear on single-process
    Eli> systems.  (normal_stop): Likewise.


More information about the Gdb-patches mailing list