OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ed57e36
)
* amd64-linux-nat.c (si_timerid,si_overrun): Provide definition for
author
devans
<devans>
Tue, 17 Mar 2009 18:39:07 +0000
(18:39 +0000)
committer
devans
<devans>
Tue, 17 Mar 2009 18:39:07 +0000
(18:39 +0000)
glibc 2.3.2 and earlier.
gdb/ChangeLog
patch
|
blob
|
history
gdb/amd64-linux-nat.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index
fc4ba69
..
ce50ba2
100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,8
@@
+2009-03-17 Doug Evans <dje@google.com>
+
+ * amd64-linux-nat.c (si_timerid,si_overrun): Provide definition for
+ glibc 2.3.2 and earlier.
+
2009-03-17 Joel Brobecker <brobecker@adacore.com>
* frame.c (get_prev_frame_1): Do not perform the inner_frame
2009-03-17 Joel Brobecker <brobecker@adacore.com>
* frame.c (get_prev_frame_1): Do not perform the inner_frame
diff --git
a/gdb/amd64-linux-nat.c
b/gdb/amd64-linux-nat.c
index
e46bd03
..
2a1b690
100644
(file)
--- a/
gdb/amd64-linux-nat.c
+++ b/
gdb/amd64-linux-nat.c
@@
-501,6
+501,15
@@
typedef struct compat_siginfo
#define cpt_si_band _sifields._sigpoll._band
#define cpt_si_fd _sifields._sigpoll._fd
#define cpt_si_band _sifields._sigpoll._band
#define cpt_si_fd _sifields._sigpoll._fd
+/* glibc at least up to 2.3.2 doesn't have si_timerid, si_overrun.
+ In their place is si_timer1,si_timer2. */
+#ifndef si_timerid
+#define si_timerid si_timer1
+#endif
+#ifndef si_overrun
+#define si_overrun si_timer2
+#endif
+
static void
compat_siginfo_from_siginfo (compat_siginfo_t *to, siginfo_t *from)
{
static void
compat_siginfo_from_siginfo (compat_siginfo_t *to, siginfo_t *from)
{