* config/nm-linux.h: Do not include <signal.h>.
(REALTIME_LO, REALTIME_HI): Do not define. * signals/signals.c (REALTIME_HI): Fix off-by-one bug.
This commit is contained in:
parent
51b57b6b26
commit
0b75775590
@ -1,3 +1,9 @@
|
|||||||
|
2006-11-28 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
|
* config/nm-linux.h: Do not include <signal.h>.
|
||||||
|
(REALTIME_LO, REALTIME_HI): Do not define.
|
||||||
|
* signals/signals.c (REALTIME_HI): Fix off-by-one bug.
|
||||||
|
|
||||||
2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
|
2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
|
||||||
|
|
||||||
* mi/mi-cmd-var.c (mi_cmd_var_create): Fix cleanup
|
* mi/mi-cmd-var.c (mi_cmd_var_create): Fix cleanup
|
||||||
|
@ -25,16 +25,6 @@ struct target_ops;
|
|||||||
/* GNU/Linux is SVR4-ish but its /proc file system isn't. */
|
/* GNU/Linux is SVR4-ish but its /proc file system isn't. */
|
||||||
#undef USE_PROC_FS
|
#undef USE_PROC_FS
|
||||||
|
|
||||||
/* Since we're building a native debugger, we can include <signal.h>
|
|
||||||
to find the range of real-time signals. */
|
|
||||||
|
|
||||||
#include <signal.h>
|
|
||||||
|
|
||||||
#ifdef __SIGRTMIN
|
|
||||||
#define REALTIME_LO __SIGRTMIN
|
|
||||||
#define REALTIME_HI (__SIGRTMAX + 1)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern void lin_lwp_attach_lwp (ptid_t ptid, int verbose);
|
extern void lin_lwp_attach_lwp (ptid_t ptid, int verbose);
|
||||||
#define ATTACH_LWP(ptid, verbose) lin_lwp_attach_lwp ((ptid), (verbose))
|
#define ATTACH_LWP(ptid, verbose) lin_lwp_attach_lwp ((ptid), (verbose))
|
||||||
|
|
||||||
|
@ -37,10 +37,10 @@
|
|||||||
#ifndef REALTIME_LO
|
#ifndef REALTIME_LO
|
||||||
# if defined(__SIGRTMIN)
|
# if defined(__SIGRTMIN)
|
||||||
# define REALTIME_LO __SIGRTMIN
|
# define REALTIME_LO __SIGRTMIN
|
||||||
# define REALTIME_HI __SIGRTMAX
|
# define REALTIME_HI (__SIGRTMAX + 1)
|
||||||
# elif defined(SIGRTMIN)
|
# elif defined(SIGRTMIN)
|
||||||
# define REALTIME_LO SIGRTMIN
|
# define REALTIME_LO SIGRTMIN
|
||||||
# define REALTIME_HI SIGRTMAX
|
# define REALTIME_HI (SIGRTMAX + 1)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user