probably contained byte-order sins too.
config/mips/tm-mips.h (INVALID_FLOAT): Define to 0 like most machines.
The IEEE_FLOAT code in print_floating takes care of it.
commands.
* gdb.t16/gdbme.c: Add and use struct containing arrays of char.
* gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
* gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
of struct of char arrays.
* gdb.t00/radix.exp: New tests for radix commands.
* c-valprint.c (c_val_print): For array of chars printed with
string syntax, don't print the address of the array. From
bothner@cygnus.com.
* c-exp.y (yylex): Recognize '.' as indicating a floating point
number regardless of the radix. From wilson@cygnus.com.
* valprint.c (set_input_radix_1, set_output_radix_1): New
prototypes and functions that do the actual radix setting work.
* valprint.c (set_radix, set_output_radix, set_input_radix):
Rewrite to use set_input_radix_1 and set_output_radix_1.
* valprint.c (initialize_valprint): Enable commands to
independently set and show input and output radices.
* valprint.c (show_radix): New prototype and function that
handles separate input and output radices.
BLOCK_ADDRESS_FUNCTION_RELATIVE a macro, make it a variable which
is true if we are doing stabs-in-elf, false otherwise.
config/sparc/tm-sun4sol2.h: Don't define it.
* gdb.t06/break.exp: Don't require envp argument to main.
* gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
* gdb.t02/whatis.exp, gdb.t11/list.exp:
Add xfails for rs6000.
* gdb.t02/whatis.exp: Re-write other tests
not to re-test something we already tested.
* gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
each type used has a variable of that type.
* Makefile.in (BFD_OBJ_DIR): New definition for the bfd build
directory to find automatically generated header files and library.
* Makefile.in (BFD_LIB): Use BFD_OBJ_DIR.
* Makefile.in (LINTFLAGS): Include BFD_OBJ_DIR.
* Makefile.in (saber_gdb): Include BFD_OBJ_DIR.
* Makefile.in (depend): Include BFD_OBJ_DIR in gcc args.
* Makefile.in (paread.o, xcoffexec.o): Remove, now in depend.
* depend, alldeps.mak: Rebuild after Makefile.in changes.
* hppab-nat.c: Eliminate unnecessary ifdefs for
FETCH_INFERIOR_REGISTERS, CANNOT_FETCH_REGISTER, and
CANNOT_STORE_REGISTER.
(fetch_register): Delete code to handle CANNOT_FETCH_REGISTER.
* hppa-pinsn.c: Support 'I', 'J', and 'K' in output
templates for 1.1 FP computational instructions.
* gdbserver/remote-inflow{-sparc}.c (create_inferior): Don't use a
shell when running the child, as args have been expanded by the
time we get here. Simplify calling convention.
* gdbserver/remote-server.c (main): Use new calling convention
for create_inferior, remove defunct code for coalescing argv.
Remove extra calls to mywait(), as we no longer have to wade
through a shell.
but does partial reads, such as reads that bump into the end of
the address space.
* target.h (target_read_memory_partial): Add prototype.
* valprint.c (PRINT_MAX_DEFAULT): New define, initial value 200.
* valprint.c (val_print_string): Complete rewrite to fix bug with
bumping into end of memory, avoiding unnecessarily long reads, and
fixing bug when print_max is set to 0 (unlimited print length).
* valprint.c (_initialize_valprint): Use PRINT_MAX_DEFAULT to
initialize print_max.
is fixed and PR is closed.
* gdb.t16 (gdbme.c): Add simple test string variable.
* gdb.t16 (printcmds.exp): Add tests with simple test string
variable, primarily for boundaries on "set print elements".
* gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
* gdb.stabs/wierd.def: Type attributes must be preceded by number=.
* gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
don't end command passed to gdb_test with newline.
* gdb.stabs/wierd.def: Type attributes must be preceded by number=.
* gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
don't end command passed to gdb_test with newline.
signed keyword away, don't expect signed bitfields to be signed.
* gdb.t13/bitfields.exp (bitfield containment): Accept the fields
printing with only as many 1's as are in the field as well as printing
with 32 1's (see comment).
single parameter, the pointer to the partial symtab, rather than
a bunch of args that are derived from the partial symtab. Change
prototypes and callers to match.
set demangling style automatically.
* defs.h (CPLUS_MARKER): Clarify comment that this is only for
GNU C++, not C++ in general.
* symtab.h (general_symbol_info): Simplify by eliminating one
structure level for the language dependent info.
* defs.h (memcmp): Add decl for memcmp to #ifndef MEM_FNS_DECLARED.
* findvar.c (write_register): See if we are writing back the same
value that's already in the register. If so, don't bother.
* remote.c (putpkt, getpkt): Improve handling of communication
problems.
* ser-go32.c: Prototype it to death. Update serial_ops and add
dummy routines where appropriate.
* ser-tcp.c: New module to implement serial I/O via TCP
connections.
* ser-unix.c: Clean up getting/setting of tty state. Get rid of
SERIAL_RESTORE, add SERIAL_{GET|SET}_TTY_STATE interfaces.
* serial.c: Add start of support for connect command.
(serial_open): Distinguish between tcp and local devices.
* serial.h (struct serial_ops): Get rid of restore, add
get_tty_state and set_tty_state. Define protoypes and macros for
this mess.
* gdbserver/remote-utils.c: Add tcp support. (readchar): Do
some real buffering. Handle error conditions gracefully.
* gdbserver/remote-inflow-sparc.c: Update to remote-inflow.c
(Lynx), remove lots of cruft.
is not a pointer type.
* stabsread.c (define_symbol): Clean up logic; move the read_type
calls to inside the switch statement (this improves the error
handling).
(identify_source_line), callers: Take pc as argument, rather than
assuming innermost frame (emacs doesn't use this, so no one ever
noticed).
* symtab.h: Declare frame_file_full_name.
* main.c: Don't.
just changed.
gdb.t00/default.exp: Update "info frame" test for new message.
* gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
Remove some xfails
read_type_number static.
(define_symbol): Don't try to deal with a missing symbol
descriptor which isn't followed by digit, '(', or '-'.
* stabsread.h: Don't declare read_type_number here.
* gdbtypes.h: Don't declare error_type here.
* xcoffread.c: Remove NO_TYPEDEFS code.
support it.
* config/i386/go32.mh: Define SER_HARDWIRE.
* Makefile.in: Define SER_HARDWIRE.
(DEPFILES): Use it.
(alldeps.mak): Add SER_HARDWIRE.
Remove all references to ser-hardwire.{c,o}.
* configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
support it.
* config/i386/go32.mh: Define SER_HARDWIRE.
* Makefile.in: Define SER_HARDWIRE.
(DEPFILES): Use it.
(alldeps.mak): Add SER_HARDWIRE.
Remove all references to ser-hardwire.{c,o}.
* configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
inferior_fp_registers by reading them from the inferior before
modifying and writing them back.
Fixes unexplainable inferior FP exceptions after calls to the inferior
or setting of floating point registers.
* mips-tdep.c (mips_skip_prologue): Skip move of argument register
to register which is generated by gcc-2.4.
PRMS 1823; the bug still exists but isn't reproduced by this test
anymore), and remove rs6000 XFAIL (the bug is fixed).
* gdb.t03/ptype.exp: Comment out a lot of tests which are basically
duplicated from whatis.exp. For those that are left, accept
"long", "long int", or "int" for long variables (whatis.exp already
has an XFAIL for "int", so no need to fail it here).
* gdb.t02/whatis.exp, gdb.t10/crossload.exp:
Deal with GCC's names for types now that GDB uses the compiler's names.
* gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
setup_xfail's for sunos4. If we #defined the signed keyword away,
don't expect GDB to know that char it is signed.
* gdb.t00/teststrategy.exp: Update for symbolic signal names.
should work on any system, regardless of debugging format.
* gdb.t21/demangle.exp: Move to gdb.t24.
* gdb.t24/demangle.exp: Move from gdb.t21.
* gdb.t24/{Makefile.in, configure.in}: New files.
(define_symbol): Use read_type for type of enum constant,
not just read_type_number. Also don't call error().
(define_symbol): For unrecognized constant type, one complaint (the
one from error_type) is enough. Don't make our own in addition.
(define_symbol): Don't treat an N_FUN 'R' as a prototype.
* gdbtypes.h: Doc fixes.
Paul Flinders <ptf@delcam.co.uk>.
* mipsread.c (fixup_sigtramp): Find _sigtramp on Irix even when the
executable uses sigvec.
* mips-tdep.c (read_next_frame_reg): Allow tm-file to override
sigcontext offsets.
* config/mips/tm-irix3.h: Add sigcontext offsets for Irix.
the necessary bits.
* findvar.c (value_from_register): Fix uninitialized first_addr
which caused problems with assignment of doubles to register variables
on some targets.
* mipsread.c: Remove TM_FILE_OVERRIDE, include tm.h and provide the
missing mips definitions if necessary.
Fix handling of double register variables for mips targets and big
endian hosts. These patches are from Paul Flinders <ptf@delcam.co.uk>.
* config/mips/tm-mips.h: Increase MAX_REGISTER_{RAW,VIRTUAL}_SIZE to
8 bytes for doubles.
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): New macro for
conversion of type held in multiple registers to host format.
* config/mips/tm-mips.h (REGISTER_CONVERT_FROM_TYPE): New macro,
companion to REGISTER_CONVERT_TO_TYPE.
* config/mips/tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
Convert to function calls.
* config/mips/tm-mips.h (FIX_CALL_DUMMY): New code for big endian
mips targets.
* mips-tdep.c (mips_print_register): Raw buffer now needs just
MAX_REGISTER_RAW_SIZE bytes.
* mips-tdep.c (mips_print_register): Use REGISTER_CONVERT_TO_TYPE
(if defined) for doubles.
* mips-tdep.c: (mips_extract_return_value, mips_store_return_value):
New functions, take care of REGISTER_CONVERT_TO/FROM_TYPE.
* valops.c (value_assign): Use REGISTER_CONVERT_TO_TYPE if
defined.
* findvar.c (value_from_register): Use REGISTER_CONVERT_TO_TYPE if
defined.
point types used with @samp{R} type descriptor.
(Symbol Descriptors): Describe how to handle conflict between
different meanings of @samp{P} symbol descriptor.
directly under the main menu.
* stabs.texinfo: Many more changes to bring it into line with
AIX documentation and reality. I think it now has all the
information from the AIX documentation, except that I burned
out when I got to variant records (Pascal and Modula-2) and
all the COBOL types. Oh well, we can add them later when we're
worrying more about those languages.
* stabs.texinfo (Automatic variables): Talk about what it means
to omit the symbol descriptor.
signal_handler_caller.
* tm-68k.h (FRAME_{CHAIN,SAVED_PC}): Deal with sigtramp.
* tm-hp300bsd.h: Define SIGTRAMP_{START,END} not IN_SIGTRAMP.
* inferior.h (IN_SIGTRAMP): Definition moved from infrun.c.
Use SIGTRAMP_START if defined.
* infcmd.c (step_1): Use SIGTRAMP_{START,END} if needed.
* infrun.c (wait_for_inferior): Check IN_SIGTRAMP before SKIP_PROLOGUE.