Jim Kingdon
f92d524939
* config/m68k/xm-news.h: Include <sys/param.h>.
1993-06-13 20:19:45 +00:00
Jim Kingdon
dbbf95081c
* m88k-tdep.c (IEEE_isNAN): Remove.
...
config/m88k/tm-m88k.h (INVALID_FLOAT): Return 0. This was the same
broken isNAN as on the mips.
1993-06-13 19:41:01 +00:00
Jim Kingdon
198133b9a3
* valprint.c (_initialize_valprint): Use c->function.sfunc not just
...
c->function.
1993-06-13 18:59:29 +00:00
Jim Kingdon
a5e6391b44
* dbxread.c (process_one_symbol): If SUN_FIXED_LBRAC_BUG is not
...
defined, don't worry about Sun's silly LBRAC bug.
* dbxread.c (process_one_symbol): If there's a symbol before an
N_SO, don't error().
(case N_BCOMM): complain () not error ().
1993-06-13 18:46:47 +00:00
Jim Kingdon
9748446f53
* defs.h, main.c (catch_errors): Add return_mask arg.
...
stack.c (print_frame_info): Pass RETURN_MASK_ERROR.
other callers: Pass RETURN_MASK_ALL.
(return_to_top_level), callers: Add return_reason arg.
* utils.c (quit):
Use return_to_top_level (RETURN_QUIT) instead of error ().
* main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER):
Use SET_TOP_LEVEL not setjmp (to_top_level).
* remote-nindy.c: Use catch_errors not setjmp (to_top_level).
1993-06-13 18:16:42 +00:00
Jim Kingdon
ff56144ec8
* solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
...
Don't try to get the debug base yet.
1993-06-13 03:18:18 +00:00
Jim Kingdon
8357834fbe
* dbxread.c (process_one_symbol): Set n_opt_found based on whether
...
a non-gcc N_OPT symbol is found. Make SUN_FIXED_LBRAC_BUG a macro
which returns 0 or 1 to say whether to do it.
* config/sparc/sun4{sol2,os4}.h
(SUN_FIXED_LBRAC_BUG,VARIABLES_INSIDE_BLOCK): Use n_opt_found so
the right thing happens for both acc and SunOS4 /bin/cc.
1993-06-13 02:26:18 +00:00
Jim Kingdon
6e6656cc02
x
1993-06-12 22:13:44 +00:00
Fred Fish
ce13daa7df
* Makefile.in (VERSION): Bump to 4.9.2.
...
* 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.
1993-06-12 22:03:27 +00:00
Ken Raeburn
112087edcc
Lots of changes from Jeff Law for HPPA support:
...
Clean up cruft in opcode table; improve opcodes library disassembler; make
gdb use opcodes library disassembler.
1993-06-11 23:20:54 +00:00
K. Richard Pixley
57cb418a93
revised format for config info
1993-06-11 22:23:17 +00:00
Jim Kingdon
574dac8e6d
* dbxread.c (process_one_symbol): Rather than having
...
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.
1993-06-11 21:53:49 +00:00
Ian Lance Taylor
83909c43b6
(mips_fetch_registers): Pass a pointer to SWAP_TARGET_AND_HOST,
...
not an integer.
1993-06-11 20:51:22 +00:00
Ian Lance Taylor
f63f30e2cc
* remote-mips.c (mips_send_packet): Don't print garbage character
...
in debugging info.
(mips_request): Don't check that remote pid is 0, because
sometimes it isn't.
1993-06-11 20:35:35 +00:00
Jim Kingdon
c94e7e757b
* stack.c (print_frame_info): Use catch_errors around print_frame_args.
1993-06-11 20:06:41 +00:00
Jim Kingdon
702c0ff7fb
* Makefile.in (install): Don't depend on gdb.
1993-06-11 19:08:18 +00:00
Jim Kingdon
91c87211d6
* Rename remote-es1800.c to remote-es.c
...
and remote-st2000.c to remote-st.c for 14-char filenames.
config/m68k/{es1800,st2000}: Use the new names.
1993-06-11 18:29:50 +00:00
Fred Fish
dd577ca588
* defs.h (INT_MAX): Cast unsigned shift result to int.
1993-06-11 17:25:57 +00:00
Fred Fish
a608f919de
* elfread.c (elf_symtab_read): Add bfd section address to bfd
...
symbols, now that they are section relative.
* solib.c (bfd_lookup_symbol): Ditto.
1993-06-10 20:31:47 +00:00
Jim Kingdon
39d4639b11
* Makefile.in (*.tab.c): Use mv for atomic update.
...
* Makefile.in ({dist,real}clean): Also remove nm.h.
(realclean): Also remove ${TESTS}, y.output, yacc.{acts,tmp}.
(distclean): Don't rebuild *.tab.c or TAGS.
1993-06-09 23:27:24 +00:00
K. Richard Pixley
9049407811
put configuration in startup banner
1993-06-09 23:22:48 +00:00
K. Richard Pixley
a29be23615
udi/foo now copyleft 93
1993-06-09 22:29:33 +00:00
K. Richard Pixley
0b3556feb1
drop minimon support
1993-06-09 20:00:52 +00:00
K. Richard Pixley
fa48972a7d
removed -lresolv
1993-06-09 19:58:38 +00:00
Jim Kingdon
4640902b79
* m68k-stub.c: Add comment about frame cache.
1993-06-09 14:04:02 +00:00
Jim Kingdon
b01c21d066
* target.h (target_store_registers): Doc fix re error handling.
...
* findvar.c (write_register): Call SWAP_TARGET_AND_HOST regardless
of register_valid[regno].
1993-06-09 13:24:16 +00:00
Jim Kingdon
9745ba070f
Doc fix re dependencies
1993-06-09 01:28:54 +00:00
Rob Savoye
f7630ec9c5
* serial.c (serial_close): If scb is NULL, don't try to close
...
it.
* configure.in: Add support for rom68k and bug boot monitors.
1993-06-09 01:18:26 +00:00
Steve Chamberlain
df14b38baf
* coffread.c (init_stringtab): Fix bug where sizeof(long) != 4.
...
* gdbcore.h, core.c (read_memory_unsigned_integer): New function.
* findvar.c (read_register, write_register): Fix thinko where
sizeof(host long) != sizeof(target int).
* h8300-tdep.c: Use new read_memory_unsigned_integer call.
* sh-tdep.c (_initialize_sh_tdep): Add memory_size command.
1993-06-09 00:47:13 +00:00
Jim Kingdon
d9e5694c9b
helps if you save the ChangeLog after you edit it and before you check it in
1993-06-09 00:14:12 +00:00
Jim Kingdon
e7ac0161ce
* Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) to
...
m68k-tdep.c (m68k_find_saved_regs). Don't duplicate code between
68881 and non-68881 cases. Check for a pair of movel instructions.
1993-06-08 23:35:00 +00:00
K. Richard Pixley
45d8db87f0
symfile.h requires bfd.h so include it
1993-06-08 23:17:01 +00:00
K. Richard Pixley
54d44c8c3d
First cut at sparc-vxworks targetting.
1993-06-08 23:05:20 +00:00
K. Richard Pixley
75c319ffb4
symfile.h requires bfd.h so include it.
1993-06-08 21:54:05 +00:00
Jim Kingdon
683bf9b55d
* config/m68k/xm-news.h: add "extern int errno".
1993-06-08 21:44:14 +00:00
K. Richard Pixley
357992027a
* remove-vx.c (vx_read_register, vx_write_register): collapse
...
ifdef I80960 else (assumes) m68k into parameterizable macros
VX_NUM_REGS and VX_SIZE_FPREGS.
* config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS,
VX_SIZE_FPREGS): new definitions.
1993-06-08 20:56:23 +00:00
Jim Kingdon
6b27ebe851
* symfile.{c,h} (generic_load): New function.
...
remote{,-nindy,-eb,-mips}.c: Use it.
1993-06-08 19:48:15 +00:00
Stu Grossman
a5d6157038
* Makefile.in (depend): More sed gubbish to deal with
...
../bfd/bfd.h being generated during the build.
* depend: Re-done with corrected makefile.
1993-06-08 03:10:34 +00:00
Fred Fish
6f4a4fbb1d
* Makefile.in (BFD_SRC_DIR): Renamed def and usages from BFD_DIR.
...
* 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.
1993-06-07 23:41:44 +00:00
Ian Lance Taylor
761d5a4bad
* configure.in (mips-idt-ecoffl*): New target; use idtl.
...
(mips-idt-ecoff*): Added trailing '*'.
* config/mips/idtl.mt: New file; like idt.mt, but little endian.
1993-06-04 19:47:49 +00:00
Stu Grossman
452b4b001f
* ser-go32.c: Clean up lots of compilation nits.
1993-06-04 00:38:04 +00:00
Stu Grossman
e835b5e7fa
* Patches from Jeffrey Law <law@cs.utah.edu>.
...
* 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.
1993-06-03 23:44:24 +00:00
Stu Grossman
bd91ddd176
* Makefile.in: Remove ser-tcp.[co]. (Use XDEPFILES instead.)
...
* alldeps.mak, depend: Rebuild to account for ser-tcp.
* config/sparc/sun4os4.mh: Add ser-tcp to XDEPFILES.
1993-06-03 10:54:58 +00:00
Stu Grossman
3af7fb94af
* target.c (target_read_memory_partial): Don't deref errnoptr
...
when checking for null pointer.
1993-06-03 10:36:39 +00:00
John Gilmore
2b5773496a
* remote-es1800.c: Fix typo.
...
.Sanitize: Add comments about what's getting deliberately ignored.
1993-06-03 02:59:50 +00:00
Fred Fish
68feeeedb7
* target.c (target_read_memory_partial): Like target_read_memory,
...
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.
1993-06-02 04:57:17 +00:00
Rob Savoye
c112834044
* configure.in: Add support for rom68k and bug boot monitors.
1993-06-02 00:15:39 +00:00
Jim Kingdon
6119aeebea
* printcmd.c (print_scalar_formatted): Print integers bigger than
...
LONGEST in hex no matter how big, and no matter what the format
and size.
1993-05-31 21:09:04 +00:00
Jim Kingdon
36bcda7958
* stabsread.c (read_type): Skip type attributes if present.
1993-05-31 20:14:59 +00:00
Jim Kingdon
574a2a49b7
* stabsread.c (read_huge_number): Don't accept '0' + radix as part
...
of number, just through '0' + radix - 1.
1993-05-31 18:08:56 +00:00