Commit Graph

6729 Commits

Author SHA1 Message Date
Fred Fish 84b5df3255 * Makefile.in (make-proto-gdb-1): Use -f opt on rm of Makefile. 1993-08-01 19:31:56 +00:00
Fred Fish e65627f9f0 * Makefile.in (COMPRESS): Remove def.
* Makefile.in (gdb.tar.gz, make-gdb.tar.gz):  Renamed from
	gdb.tar.Z and make-gdb.tar.Z respectively.
	* Makefile.in (make-gdb.tar.gz):  Now only build gzip'd archive.
	* Makefile.in (make-gdb.tar.gz):  Minor changes to move closer
	to convergence with 'taz' target in Makefile.in.
1993-08-01 18:39:32 +00:00
Fred Fish d144532707 * h8500-tdep.c: Add parens around a few macro args. 1993-08-01 16:43:32 +00:00
Jim Kingdon 77eb2e8f11 * TODO: Remove items about unix-to-unix/rapp debugging (now we
have gdbserver), moving xm files to subdirectory, ptype yylval,
	and file-local symbols.
1993-07-31 03:28:27 +00:00
John Gilmore 308a5981e0 * dis-asm.h: Add new fields insn_info_valid, branch_delay_insns,
data_size, insn_type, target, target2.  These are used to return
information from the instruction decoders back to the calling
program.  Add comments, make more readable.
1993-07-31 01:40:26 +00:00
Jim Kingdon c4978d689e * gdb.t17/interrupt.exp: Add xfail for hppa. 1993-07-31 00:56:26 +00:00
Jim Kingdon 6ea34847c6 * stabs.texinfo (Procedures): Improve stuff on nested functions. 1993-07-30 23:31:14 +00:00
Jim Kingdon eec03ebb50 * gdbtypes.h: Improve comments about C++ methods. 1993-07-30 23:06:37 +00:00
David MacKenzie 45743c7867 common section fix 1993-07-30 22:45:04 +00:00
Ken Raeburn 28409e916f keep ho-hppaosf.h; m88k.patches is gone 1993-07-30 22:38:38 +00:00
Ian Lance Taylor 8fa7a236b6 First cut at i386 specific NLM backend. 1993-07-30 22:32:45 +00:00
Ian Lance Taylor 5a1cb8d526 * nlm32-i386.c: New file. First cut at i386 NLM code.
* libnlm.h: Added some more prototypes.
	(struct nlm_relent): New structure.
	(nlmNAME(symbol_type)): Added rcnt and relocs fields.
	(struct nlm_obj_tdata): Added new fields: nlm_symbols,
	nlm_text_low, nlm_data_low, nlm_reloc_fixups,
	nlm_reloc_fixup_secs.
	(struct nlm_backend_data): New structure, with accessor macros.
	* nlmcode.h: Use NLM_HIBIT rather than MSB.
	(nlm_object_p): Set SEC_RELOC for .text and .data.  Don't set
	SEC_DATA for .bss.  Set HAS_RELOC and HAS_SYMS for abfd.  Set the
	architecture.
	(nlm_swap_fixed_header_out, nlm_swap_variable_header_out,
	find_nonzero, nlm_swap_auxiliary_headers_out): New outbound
	swapping functions.
	(nlm_get_symtab_upper_bound, nlm_slurp_symbol_table): Include
	external references in symbol table as undefined symbols.
	(nlm_get_symtab, nlm_slurp_symbol_table): Fill in alocation
	argument in get_symtab rather than in slurp_symbol_table.
	(nlm_slurp_symbol_table): Save symbol information in tdata.
	(nlm_print_symbol): New function.
	(nlm_slurp_reloc_fixups, nlm_get_reloc_upper_bound,
	nlm_canonicalize_reloc): New functions to read relocs.
	(nlm_compute_section_file_positions, nlm_set_section_contents,
	nlm_external_reloc_compare, nlm_write_object_contents): New
	functions to create NLM files.
	* nlm-target.h: Define all the nlm functions here either as
	default values or in terms of nlmNAME.  Use JUMP_TABLE(nlm).  Set
	the backend_data field to TARGET_BACKEND_DATA.
	* nlm32-gen.c, nlm64-gen.c: Don't define function macros here;
	they are now in nlm-target.h.
	(TARGET_BACKEND_DATA): Define as NULL.
	* nlm.c (nlm_mkobject): Do allocate the tdata field.
	(nlm_set_arch_mach): New function.
	* targets.c: Added nlm32_i386_vec.
	* Makefile.in (BFD32_BACKENDS): Added nlm32-i386.o.
	(CFILES): Added nlm32-i386.c.
	(nlm32-gen.o, nlm64-gen.o): Depend on nlm-target.h.
	(nlm32-i386.o): New target.
1993-07-30 22:32:09 +00:00
Ken Raeburn 7ff4288057 elf files changed names; keep i386linux.sh 1993-07-30 22:30:29 +00:00
Fred Fish bcca9a08dc * c-exp.y: Add missing 5th arg for one call to lookup_symbol, cast
NULL in all other calls to correct pointer types.
1993-07-30 21:20:56 +00:00
Jim Kingdon 6cfec92912 From Jeffrey Law:
* tm-hppa.h (TARGET_WRITE_PC): Define.
	* hppa-tdep.c (hppa_fix_call_dummy): If in a syscall,
	then return the address of the dummy itself rather than
	the address of $$dyncall.
	(target_write_pc): New function to store a new PC.
1993-07-30 20:49:52 +00:00
Peter Schauer a4fbb03e2d Fix typo in previous ChangeLog entry. 1993-07-30 20:12:28 +00:00
Peter Schauer 69aa789bb2 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
	* gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
	to determine signed-ness of bitfields and use the result to setup
	the xfail.
	* gdb.t13/gdbme.c:  Add comment to the two indirect call0a lines.
	* gdb.t13/funcargs.exp:  Use it to step until the second indirect call
	line is reached if necessary.
1993-07-30 20:04:34 +00:00
Peter Schauer f5a197a256 * breakpoint.c (breakpoint_re_set_one): Always reparse breakpoint
conditions, they might contain symbol table references.
	* mipsread.c (parse_symbol):  Handle opaque struct definitions and
	type naming for stTypedef symbols.
1993-07-30 20:02:45 +00:00
Jim Kingdon 96c68efaf7 * c-exp.y (yylex): Detect C++ nested types. 1993-07-30 19:50:29 +00:00
David Edelsohn 38cbb25c2b * sp64-tdep.c (sparc64_frame_chain, sparc64_frame_saved_pc): Deleted.
(dump_ccreg, sparc_print_register_hook): New fns.
* remote-sim.h: New file.
* remote-sp64sim.h (sim_*): External fns.  (simif_*): Internal fns.

* config/sparc/sp64.mt: New file.
* config/sparc/tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted.
(PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.
1993-07-30 19:12:33 +00:00
David Edelsohn b562a1861c remote-sim.h: New file.
remote-sp64sim.h (sim_*): External fns.  (simif_*): Internal fns.
sp64-tdep.c (sparc64_frame_chain, sparc64_frame_saved_pc): Deleted.
(dump_ccreg, sparc_print_register_hook): New fns.
1993-07-30 18:57:41 +00:00
David Edelsohn 9be4f7b466 New file remote-sim.h. 1993-07-30 18:50:42 +00:00
David Edelsohn 3b22d69a5f sp64.mt: New file.
tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted.
(PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.
1993-07-30 18:40:05 +00:00
Steve Chamberlain f751f474f4 d
Make sure ansidecl.h is included where needed.
1993-07-30 18:17:38 +00:00
Steve Chamberlain 73e77bc3da Deleted. 1993-07-30 17:46:09 +00:00
Fred Fish d50261e598 Add ptx.mh to Things-to-keep list. 1993-07-30 17:18:23 +00:00
Fred Fish 6879f0db79 * Makefile.in (ALLCONFIG): Add config/i386/ptx.mh 1993-07-30 17:16:48 +00:00
Fred Fish 1a94dd0ce2 Add dfe and include to Things-to-lose list. 1993-07-30 17:11:51 +00:00
Jim Kingdon d3862cae59 From J. Law:
* infcmd.c (read_pc): Remove PA specific code.
	* tm-hppa.h (TARGET_READ_PC): Define.
	* hppa-tdep.c (target_read_pc): New function.
1993-07-30 17:01:26 +00:00
Fred Fish 775d4a4096 Add .Sanitize to Things-to-lose list. 1993-07-30 16:46:19 +00:00
Jim Kingdon 247145e6f0 * paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
* hppa-tdep.c (frame_chain_valid): Check that our function has the
	same address as _start, not that it must be the same symbol.
1993-07-30 15:52:26 +00:00
Jim Kingdon ca33fca1f9 * symtab.c (gdb_mangle_name): Deal with it if type lacks a name. 1993-07-30 15:31:26 +00:00
Fred Fish ebb962cda1 * NEWS: Add note that DEC alpha support is host only, not native. 1993-07-30 14:51:17 +00:00
Fred Fish 598db9ee39 * README: Emphasize that C++ support works best with GNU C++ and
stabs debugging format.
	* delta68-nat.c:  Add missing FSF copyright.
1993-07-30 14:42:31 +00:00
Jim Kingdon 3cde1ffa4b * paread.c (pa_symtab_read): Put file-local symbols in minimal symbols. 1993-07-30 14:17:41 +00:00
Jim Kingdon f1a67de8e2 * paread.c (pa_symtab_read): Put file-local symbols in minimal symbols. 1993-07-30 14:14:02 +00:00
Fred Fish 7ee50446bc Add test1.c to Things-to-lose list. 1993-07-30 07:41:20 +00:00
Fred Fish a674371a3c Add remote-inflow-sparc.c and server.h to Things-to-lose list. 1993-07-30 07:39:05 +00:00
Fred Fish 40055e582d Add a4rc.sed, config, cyglogo.eps, and cygref.tex to Things-to-lose list. 1993-07-30 07:36:56 +00:00
Fred Fish 6212c366b5 Add monitor.mt and tm-monitor.h to Things-to-keep list. 1993-07-30 07:34:12 +00:00
Fred Fish 5ab0b84dbb Add delta68.mh, delta68.mt, nm-delta68.h, tm-delta68.h, xm-delta68.h to
Things-to-keep list.
1993-07-30 07:25:31 +00:00
Fred Fish 68f49dae33 * Makefile.in (ALLDEPFILES): Add delta68-nat.c
* Makefile.in (delta68-nat.o):  Add dependency.
1993-07-30 07:23:29 +00:00
Fred Fish be0ed5bbb4 Add delta68-nat.c to Things-to-keep list. 1993-07-30 07:20:31 +00:00
Fred Fish 207d7af96c Add esix.h to Things-to-lose list. 1993-07-30 07:10:33 +00:00
Jim Kingdon 5d38a0a818 * value.h (COERCE_ENUM): Use COERCE_REF to coerce refs; value_ind
was adequate in gdb 3.5 but not now.

	* valops.c (typecmp): An array in t2 matches a pointer in t1.

	* valops.c (typecmp): When comparing type1& to type2, compare
	type1 and type2 as leniently as if we were comparing type1 to
	type2.
1993-07-30 05:34:24 +00:00
Ian Lance Taylor ced16de6bd * write.c: Don't use short int in a prototype. 1993-07-30 05:22:12 +00:00
Ian Lance Taylor ab4d34cd91 * expr.c (operand): Make return value simply depend on contents of
returned expression.
1993-07-30 05:06:58 +00:00
David D. Zuhn 6592e701b3 remove some sun3 function decls 1993-07-30 03:22:30 +00:00
Jim Kingdon 1410f5f13b * cp-valprint.c (cplus_print_value): Don't dump core if the
baseclass doesn't have a name.
	* values.c (vb_match): New function, which finds the virtual
	base class pointer even if the types are nameless.
	(baseclass_{addr,offset}): Use it.
1993-07-30 01:42:09 +00:00
David D. Zuhn 0ccc65ec79 fix ANSI decl conflicts 1993-07-30 01:40:25 +00:00