* [ob] Add #ifndef SOLIB_SVR4
@ 2004-03-11 23:52 Andrew Cagney
2004-03-19 0:09 ` Andrew Cagney
2004-03-19 0:09 ` Mark Kettenis
0 siblings, 2 replies; 4+ messages in thread
From: Andrew Cagney @ 2004-03-11 23:52 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 25 bytes --]
fyi,
committed,
Andrew
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 822 bytes --]
2004-03-11 Andrew Cagney <cagney@redhat.com>
* solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.
Index: solib-svr4.h
===================================================================
RCS file: /cvs/src/src/gdb/solib-svr4.h,v
retrieving revision 1.6
diff -u -r1.6 solib-svr4.h
--- solib-svr4.h 21 Feb 2004 18:34:45 -0000 1.6
+++ solib-svr4.h 11 Mar 2004 23:50:24 -0000
@@ -20,6 +20,9 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#ifndef SOLIB_SVR4
+#define SOLIB_SVR4
+
struct objfile;
/* Critical offsets and sizes which describe struct r_debug and
@@ -88,3 +91,5 @@
for ILP32 and LP64 SVR4 systems. */
extern struct link_map_offsets *svr4_ilp32_fetch_link_map_offsets (void);
extern struct link_map_offsets *svr4_lp64_fetch_link_map_offsets (void);
+
+#endif
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ob] Add #ifndef SOLIB_SVR4
2004-03-19 0:09 ` Mark Kettenis
@ 2004-03-12 22:01 ` Mark Kettenis
0 siblings, 0 replies; 4+ messages in thread
From: Mark Kettenis @ 2004-03-12 22:01 UTC (permalink / raw)
To: cagney; +Cc: gdb-patches
Date: Thu, 11 Mar 2004 18:52:04 -0500
From: Andrew Cagney <cagney@gnu.org>
2004-03-11 Andrew Cagney <cagney@redhat.com>
* solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.
Hmm, this is inconsistent with our current practive where this kind of
wrappers always ends in _H. So I went ahead and added the attached
obvious fix.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H
wrapper.
Index: solib-svr4.h
===================================================================
RCS file: /cvs/src/src/gdb/solib-svr4.h,v
retrieving revision 1.7
diff -u -p -r1.7 solib-svr4.h
--- solib-svr4.h 11 Mar 2004 23:51:58 -0000 1.7
+++ solib-svr4.h 12 Mar 2004 19:09:28 -0000
@@ -20,8 +20,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#ifndef SOLIB_SVR4
-#define SOLIB_SVR4
+#ifndef SOLIB_SVR4_H
+#define SOLIB_SVR4_H
struct objfile;
@@ -92,4 +92,4 @@ extern struct link_map_offsets *(*legacy
extern struct link_map_offsets *svr4_ilp32_fetch_link_map_offsets (void);
extern struct link_map_offsets *svr4_lp64_fetch_link_map_offsets (void);
-#endif
+#endif /* solib-svr4.h */
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ob] Add #ifndef SOLIB_SVR4
2004-03-11 23:52 [ob] Add #ifndef SOLIB_SVR4 Andrew Cagney
2004-03-19 0:09 ` Andrew Cagney
@ 2004-03-19 0:09 ` Mark Kettenis
2004-03-12 22:01 ` Mark Kettenis
1 sibling, 1 reply; 4+ messages in thread
From: Mark Kettenis @ 2004-03-19 0:09 UTC (permalink / raw)
To: cagney; +Cc: gdb-patches
Date: Thu, 11 Mar 2004 18:52:04 -0500
From: Andrew Cagney <cagney@gnu.org>
2004-03-11 Andrew Cagney <cagney@redhat.com>
* solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.
Hmm, this is inconsistent with our current practive where this kind of
wrappers always ends in _H. So I went ahead and added the attached
obvious fix.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H
wrapper.
Index: solib-svr4.h
===================================================================
RCS file: /cvs/src/src/gdb/solib-svr4.h,v
retrieving revision 1.7
diff -u -p -r1.7 solib-svr4.h
--- solib-svr4.h 11 Mar 2004 23:51:58 -0000 1.7
+++ solib-svr4.h 12 Mar 2004 19:09:28 -0000
@@ -20,8 +20,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#ifndef SOLIB_SVR4
-#define SOLIB_SVR4
+#ifndef SOLIB_SVR4_H
+#define SOLIB_SVR4_H
struct objfile;
@@ -92,4 +92,4 @@ extern struct link_map_offsets *(*legacy
extern struct link_map_offsets *svr4_ilp32_fetch_link_map_offsets (void);
extern struct link_map_offsets *svr4_lp64_fetch_link_map_offsets (void);
-#endif
+#endif /* solib-svr4.h */
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ob] Add #ifndef SOLIB_SVR4
2004-03-11 23:52 [ob] Add #ifndef SOLIB_SVR4 Andrew Cagney
@ 2004-03-19 0:09 ` Andrew Cagney
2004-03-19 0:09 ` Mark Kettenis
1 sibling, 0 replies; 4+ messages in thread
From: Andrew Cagney @ 2004-03-19 0:09 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 25 bytes --]
fyi,
committed,
Andrew
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 822 bytes --]
2004-03-11 Andrew Cagney <cagney@redhat.com>
* solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.
Index: solib-svr4.h
===================================================================
RCS file: /cvs/src/src/gdb/solib-svr4.h,v
retrieving revision 1.6
diff -u -r1.6 solib-svr4.h
--- solib-svr4.h 21 Feb 2004 18:34:45 -0000 1.6
+++ solib-svr4.h 11 Mar 2004 23:50:24 -0000
@@ -20,6 +20,9 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#ifndef SOLIB_SVR4
+#define SOLIB_SVR4
+
struct objfile;
/* Critical offsets and sizes which describe struct r_debug and
@@ -88,3 +91,5 @@
for ILP32 and LP64 SVR4 systems. */
extern struct link_map_offsets *svr4_ilp32_fetch_link_map_offsets (void);
extern struct link_map_offsets *svr4_lp64_fetch_link_map_offsets (void);
+
+#endif
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-03-12 22:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-11 23:52 [ob] Add #ifndef SOLIB_SVR4 Andrew Cagney
2004-03-19 0:09 ` Andrew Cagney
2004-03-19 0:09 ` Mark Kettenis
2004-03-12 22:01 ` Mark Kettenis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox