* remote.c, remote-udi.c, remote-utils.h: Let target.h take care of
declaring these. Those random externs all over are error prone.
* Move "set remotebaud" from remote-utils.c to main.c to it applies
to remote.c as well.
* xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
Sort symtabs for this objfile only, not for all objfiles.
* symfile.c, symfile.h (sort_all_symtab_syms): Remove; no longer used.
remove #include "remote-utils.h". This makes it possible to build
GDB without remote-utils.c. Also, move setting of remote_debug
into main, so that all remote*.c files can use it (not just the
serial line ones). And, make baud_rate be an int.
* remote-udi.c: Change kiodebug to remote_debug.
* remote-utils.c: Move setting of baud rate and debug into main.c.
* remote-utils.h: Redefine sr_{get set}_debug and sr_{get set}_baud
to use baud_rate and remote_debug globals for compatibility.
* remote.c: Use remote_debug and baud_rate globals directly,
instead of sr_ functions, so that we don't need to load
remote-utils.c.
ChangeLog
* values.c (value_virtual_fn_field): Fix the offset calculation
when calling virtual functions. (gdb.t22/virtfunc.exp).
* eval.c (evaluate_subexp): same as above.
* a4rc.sed: update to work with Andreas Vogel papersize params
* refcard.tex: use Andreas Vogel simplifications of papersize
params; remove useless version info; update copyright date.
values.c eval.c
* values.c (value_virtual_fn_field): Fix the offset calculation
when calling virtual functions. (gdb.t22/virtfunc.exp).
* eval.c (evaluate_subexp): same as above.
* c-exp.y (ptype : typebase abs_decl): Use it.
* c-exp.y (ptype): Add support for type qualifiers after the
typebase. The typebase rule already has support for them before
the typebase.
* Makefile.in: Change the expected number of shift/reduce
conflicts to 6. This is OK--the 2 new conflicts are basically the
same as one of the old ones.
the top of the file, making them more concise and moving them with
the code (Sorry, Randy, but these stream-of-consciousness comments
really have to go). Switch the order of the "&&", which makes
things clearer and turns out to be an improvement with respect to
side effects and speed.
* gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
working now. Add an xfail if accesing a bss variable causes
a memory error if the target is not yet run.
* symtab.c (lookup_partial_symtab): If filename is not found and
contains no slashes, try again and compare without leading path
components.
* symtab.c (lookup_symtab_1): Replace open coded version of
lookup_partial_symtab with a function call.
remote-mon.c (monitor_create_inferior), remote-nindy.c
(nindy_create_inferior), remote-st.c (st2000_create_inferior),
remote-vx.c (vx_create_inferior): Remove CREATE_INFERIOR_HOOK; it
is replaced by init_trace_fun.
* config/convex/xm-convex.h, convex-xdep.c: Add comments explaining
how to do without CREATE_INFERIOR_HOOK for whoever fixes the Convex
port.
* Makefile.in: Add Mach files to ALLDEPFILES, etc.
* m3-nat.c: Clean up more hair--message(), cprocs.
* configure.in: Recognize Mach targets and hosts.
* config/ns32k/tm-umax.h: Add some #ifndef's so tm-ns32km3.h can
include this file.
* Mach headers in config/*/tm-*.h: Fix includes to match correct
locations of files.
constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
name of __st* demangling (2 strings). Did Kung really get the
more than 95 others right without testing them?
* configure.in (configdirs): Add gdb.disasm
* gdb.disasm: New directory for GDB disassembler tests.
* gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
* configure.in (configdirs): Add gdb.disasm
* gdb.disasm: New directory for GDB disassembler tests.
* gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
from within expect statements. None of these happen anymore and
they cause regressions to be silently unnoticed.
* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
messages) about known failures with gcc cygnus-2.4.5-930417.
from within expect statements. None of these happen anymore and
they cause regressions to be silently unnoticed.
* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
messages) about known failures with gcc cygnus-2.4.5-930417.
* gdb.t22/virtfunc.exp: Add notes (in comment and failure message)
about problem with gcc cygnus-2.4.5-930828.
None of these happen anymore and they cause regressions to be silently
unnoticed.
* gdb.t20/inherit.exp: Add note (in failure message) about known
failure with gcc cygnus-2.4.5-930417.
comp-info.exp so it gets built if it doesn't exist.
* gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
it is no longer used.
* gdb.t13/comp-info.c: Removed.
calling vprintf, just make the appropriate calls to printf.
* printcmd.c, config/pa/xm-pa.h, config/mips/xm-makeva.h,
config/alpha/xm-alpha.h, config/m88k/xm-m88k.h: Remove all
traces of makeva*. My apologies to everyone (including me!)
who spent so much time getting it to work on various machines,
but look at the bright side, at least you won't have to do it
again in the future.
* printcmd.c (printf_command): Make a cleanup for val_args (fixes
a memory leak).
of a type as a type reference, not as a definition of a type with
"50=" omitted. This makes things work on the RS/6000 again (the
14 Sep 1993 change broke it).
Move common block handling from dbxread.c to stabsread.c.
Use the name from the BCOMM instead of the ECOMM.
Allocate things on the symbol_obstack.
* xcoffread.c (process_xcoff_symbol): Process C_BCOMM, C_ECOMM,
and C_ECOML. On unrecognized storage classes, go ahead and call
define_symbol (after the complaint).
* dbxread.c (process_one_symbol): Don't relocate 'S' symbols by
the text offset.
that Sun has backed away from the linker kludge and thus the relevant
issue is changes to the SunPRO tools, not the Solaris linker.
* stabs.texinfo (Traditional Integer Types): Clean up description
of octal bounds a little bit. Document extra leading zeroes.
gcc has to be compatible with the native tools.
* alpha-tdep.c (alpha_push_arguments): Rename NUM_ARG_REGS to
ALPHA_NUM_ARG_REGS and move its definition to tm-alpha.h.
* config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Change it to the
way the native tools define it, update comment.
* inflow.c, ser-unix.c, ser-go32.c, ser-tcp.c, serial.h,
terminal.h, fork-child.c, main.c, utils.c: Move all the process
group stuff back to inflow.c and terminal.h; that's a better place
for it and fixes problems with trying to get/set the process group
of a tty we're doing remote debugging on.
* terminal.h: Skip the redefines and includes if HAVE_TERMIOS.