diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-21 20:41:50 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-21 20:41:50 +0000 |
commit | 100f92e2dea21ccb7de8fb0cb3a9b70d43d55bad (patch) | |
tree | 29f70f683bed980e1fec4d7cf5c1325bf63fed81 /gdb/parser-defs.h | |
parent | Various arious PA changes from Utah. (diff) | |
download | binutils-gdb-100f92e2dea21ccb7de8fb0cb3a9b70d43d55bad.tar.gz binutils-gdb-100f92e2dea21ccb7de8fb0cb3a9b70d43d55bad.tar.bz2 binutils-gdb-100f92e2dea21ccb7de8fb0cb3a9b70d43d55bad.zip |
* Makefile.in (c-exp.tab.o): Remove notice about shift/reduce conflicts
which no longer occur.
gcc -Wall lint:
* findvar.c (symbol_read_needs_frame), corelow.c (ignore),
inflow.c (gdb_has_a_terminal): Make sure to return a value.
* regex.h: Declare re_set_syntax.
* printcmd.c: Include valprint.h.
* infcmd.c, exec.c, maint.c, core.c: Include language.h.
* maint.c: Include expression.h.
* infrun.c, fork-child.c, corelow.c, inflow.c: Include thread.h.
* inftarg.c: Include command.h.
* coredep.c: Include value.h.
* c-exp.y, m2-exp.y, ch-exp.y: Include bfd.h, symfile.h and objfiles.h.
* ch-typeprint.c: Include typeprint.h.
* ch-valprint.c: Include c-lang.h.
* nlmread.c: Include buildsym.h.
* environ.c: Include gdbcore.h. Only include defs.h once.
(set_in_environ): Cast const char * to char * when passing to
set_gnutarget.
Remove unused variables:
* printcmd.c (printf_command): args_to_vprintf.
* coffread.c (coff_symfile_init): strsection.
Move variables to within the #ifdefs where they are used:
* symtab.c (gdb_mangle_name): opname.
* inftarg.c (child_attach): pid and exec_file.
* inftarg.c (child_detach): siggnal.
* objfiles.c (allocate_objfile): mapto, md, and fd.
* objfiles.c (free_objfile): mmfd.
* infrun.c (wait_for_inferior): Include BPSTAT_WHAT_LAST in switch.
* infrun.c (wait_for_inferior): Remove unused same_pid label.
* inferior.h: Declare set_sigint_trap and clear_sigint_trap.
* parser-defs.h: Declare write_exp_elt_block.
* stabsread.h: Declare elfstab_offset_sections and
coffstab_build_psymtabs.
Diffstat (limited to 'gdb/parser-defs.h')
-rw-r--r-- | gdb/parser-defs.h | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h index 5c8710e4e6e..2e2b9e834b6 100644 --- a/gdb/parser-defs.h +++ b/gdb/parser-defs.h @@ -85,32 +85,25 @@ union type_stack_elt { union type_stack_elt *type_stack; int type_stack_depth, type_stack_size; -extern void -write_exp_elt PARAMS ((union exp_element)); +extern void write_exp_elt PARAMS ((union exp_element)); -extern void -write_exp_elt_opcode PARAMS ((enum exp_opcode)); +extern void write_exp_elt_opcode PARAMS ((enum exp_opcode)); -extern void -write_exp_elt_sym PARAMS ((struct symbol *)); +extern void write_exp_elt_sym PARAMS ((struct symbol *)); -extern void -write_exp_elt_longcst PARAMS ((LONGEST)); +extern void write_exp_elt_longcst PARAMS ((LONGEST)); -extern void -write_exp_elt_dblcst PARAMS ((double)); +extern void write_exp_elt_dblcst PARAMS ((double)); -extern void -write_exp_elt_type PARAMS ((struct type *)); +extern void write_exp_elt_type PARAMS ((struct type *)); -extern void -write_exp_elt_intern PARAMS ((struct internalvar *)); +extern void write_exp_elt_intern PARAMS ((struct internalvar *)); -extern void -write_exp_string PARAMS ((struct stoken)); +extern void write_exp_string PARAMS ((struct stoken)); -extern void -write_exp_bitstring PARAMS ((struct stoken)); +extern void write_exp_bitstring PARAMS ((struct stoken)); + +extern void write_exp_elt_block PARAMS ((struct block *)); extern void start_arglist PARAMS ((void)); |