This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: 2nd try: (patch) hpjyg03: (buildsym|language).[ch]
- To: Jim Blandy <jimb at cygnus dot com>, Jimmy Guo <guo at cup dot hp dot com>, gdb-patches at sourceware dot cygnus dot com
- Subject: Re: 2nd try: (patch) hpjyg03: (buildsym|language).[ch]
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 21 Feb 2000 14:07:27 +1100
- Organization: Cygnus Solutions
- References: <Pine.LNX.4.10.9911011130300.30664-100000@hpcll168.cup.hp.com> <npso2pkf00.fsf@zwingli.cygnus.com> <npg0uqp30k.fsf@zwingli.cygnus.com> <38B0A4A0.D9109A9E@cygnus.com>
Andrew Cagney wrote:
>
> Unfortunatly, there is no prototype for longest_local_hex_string()
> visible in buildsym.c. I've ended up commiting the following.
Oops!
"language.h" depends on "expression.h". I've also checked in the
attatched.
sorry,
Andrew
? 2diffs
? diffs
? old_wait.h
? %redact.run
? netscape.core
? new-gdbarch
? new-gdbarch.h
? new-gdbarch.c
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.50
diff -p -r1.50 ChangeLog
*** ChangeLog 2000/02/21 02:51:07 1.50
--- ChangeLog 2000/02/21 03:01:59
***************
*** 1,6 ****
Mon Feb 21 12:50:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
! * buildsym.c: Include "language.h" for
longest_local_hex_string_custom.
Mon Feb 21 11:17:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
--- 1,6 ----
Mon Feb 21 12:50:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
! * buildsym.c: Include "language.h" and "expression.h" for
longest_local_hex_string_custom.
Mon Feb 21 11:17:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
Index: buildsym.c
===================================================================
RCS file: /cvs/src/src/gdb/buildsym.c,v
retrieving revision 1.3
diff -p -r1.3 buildsym.c
*** buildsym.c 2000/02/21 02:51:07 1.3
--- buildsym.c 2000/02/21 03:02:02
***************
*** 34,39 ****
--- 34,40 ----
#include "gdbtypes.h"
#include "complaints.h"
#include "gdb_string.h"
+ #include "expression.h" /* For "enum exp_opcode" used by... */
#include "language.h" /* For "longest_local_hex_string_custom" */
/* Ask buildsym.h to define the vars it normally declares `extern'. */