This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit/obvious] Don't include `probe.h' on `stap-probe.h'
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Sat, 05 May 2012 02:38:40 -0300
- Subject: [commit/obvious] Don't include `probe.h' on `stap-probe.h'
Hi,
This was motivated by Gary's patch. `stap-probe.h' only contains a
declaration of a structure useful for per-arch parsing of SystemTap
probes' arguments, thus it doesn't need to include `probe.h'. This
patch fixes it, without causing regressions.
Applied:
http://sourceware.org/ml/gdb-cvs/2012-05/msg00035.html
Thanks,
--
Sergio
Index: gdb/ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.14210
diff -u -p -r1.14210 ChangeLog
--- gdb/ChangeLog 5 May 2012 03:05:27 -0000 1.14210
+++ gdb/ChangeLog 5 May 2012 05:35:53 -0000
@@ -1,3 +1,7 @@
+2012-05-05 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * stap-probe.h: Do not include unecessary `probe.h'.
+
2012-05-05 Alan Modra <amodra@gmail.com>
* elfread.c (elf_symtab_read): Use bfd_abs_section_ptr and
Index: gdb/stap-probe.h
===================================================================
RCS file: /cvs/src/src/gdb/stap-probe.h,v
retrieving revision 1.1
diff -u -p -r1.1 stap-probe.h
--- gdb/stap-probe.h 27 Apr 2012 20:47:56 -0000 1.1
+++ gdb/stap-probe.h 5 May 2012 05:35:53 -0000
@@ -20,8 +20,6 @@
#if !defined (STAP_PROBE_H)
#define STAP_PROBE_H 1
-#include "probe.h"
-
/* Structure which holds information about the parsing process of one probe's
argument. */