aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1993-10-28 gcc -Wall lint:Ian Lance Taylor5-173/+569
* coff-h8300.c (h8300_reloc16_estimate): Declare return type. Remove useless statement probably left by code copy. * cpu-i960.c (compatible): Fully bracket matrix initializer. * elf32-hppa.c (hppa_elf_build_arg_reloc_stub): Use bfd_xmalloc rather than xmalloc. Use realloc and check the return value rather than xrealloc. (hppa_elf_get_section_contents): Add some casts. * elf32-i386.c (elf_i386_reloc_type_lookup): Remove unused variable. Add default case to switch. * hp300hpux.c: Declare aout_32_write_syms. * i386bsd.c, i386linux.c, netbsd386.c (N_SHARED_LIB): Define as 0 (definition from aout/aout64.h is always 0 anyhow). * i386lynx.c (swap_std_reloc_in): Remove unused variable. * ieee.c (ieee_write_id): length can never be negative. (read_id): Likewise. (ieee_archive_p): Remove unused variable. * libcoff-in.h (bfd_perform_slip): Declare. * libcoff.h: Rebuilt. * oasys.c (oasys_write_sections): Remove zero initialization of static structure. * reloc16.c: Indentation change.
1993-10-28 * Makefile.in: Add dependency for $(EMULATION_OFILES).Ian Lance Taylor2-5/+32
1993-10-28 * config/tc-a29k.c (md_begin): When opcodes are mashed together inIan Lance Taylor2-14/+22
the table, require that the one without bit 0x1000000 set come first. Require further that it be case 'b' or 'P'. The a29k opcode table already meets these constraints. (machine_ip): When handling case 'i' or 'A', make sure that the appropriate opcode really exists by looking at the next entry in the opcode table.
1993-10-28 * config/i386/{i386m3.mt,i386m3.mh},Jim Kingdon5-8/+9
config/mips/{mipsm3.mt,mipsm3.mh}, config/ns32k/{ns32km3.mt,ns32km3.mh}: Use correct names for TM_FILE and XM_FILE. Replace host files *mach3-xdep.o with native files *m3-nat.o. Replace host file os-mach3.o with native file m3-nat.o.
1993-10-28 * valops.c (value_assign): Change bitfield code to use a buffer ofJim Kingdon2-16/+40
the correct size, rather than an int.
1993-10-28 * configure.in, config/i386-mach3.mt: Update for new configurationJim Kingdon3-1/+11
(--with-targets and so on). * hosts/i386mach3.h: Declare errno. * targets.c: Declare i386mach3_vec.
1993-10-27 * config/tc-m68k.c (m68k_ip): Adjust offsets for PC relativeIan Lance Taylor1-0/+3
fixups. Add 6 for long 7.3 case, 2 for short 7.2 case.
1993-10-27 * config/i386/{i386m3.mt,i386m3.mh}: Use correct names for TM_FILEJim Kingdon3-3/+8
and XM_FILE. Replace host file i386mach3-xdep.o with native file i386m3-nat.o.
1993-10-27* stabs.texinfo (Class Names): New node.Jim Kingdon2-2/+35
1993-10-27 * remote-udi.c: Remove LOG_FILE stuff; superceded by "set remotedebug".Jim Kingdon4-30/+9
* remote-mon.c: Remove commented out "set remotedebug" command. * remote-nindy.c: Clean up comment about wanting alternative to options specified on the GDB command line.
1993-10-27 * fork-child.c (fork_inferior): Set inferior_pid before callingJim Kingdon8-55/+36
init_trace_fun. Move the code which gets us through the shell to new function startup_inferior. * inferior.h: Declare startup_inferior. * procfs.c (procfs_init_inferior), inftarg.c (ptrace_him): Call startup_inferior. * m3-nat.c (m3_trace_him): Call intercept_exec_calls. * config/nm-m3.h: Don't define STARTUP_INFERIOR. * config/i386/tm-i386m3.h, config/ns32k/tm-ns32k.h, config/mips/tm-mipsm3.h: Don't define START_INFERIOR_TRAPS_EXPECTED.
1993-10-27* m68k-stub.c: Change vector 13 from SIGFPE to SIGBUS.Jim Kingdon1-0/+4
1993-10-27 * config/obj-ecoff.c (obj_ecoff_ent): Ignore an optional numberIan Lance Taylor1-0/+3
after a .ent directive.
1993-10-27* gdb.texinfo (Command Files): Explain order of init file reading.Jim Kingdon1-1/+1
1993-10-27add support for aviionDavid D. Zuhn1-3/+9
1993-10-27Took case '>' out of macro_build again to avoid confusion. Use & 0x1fIan Lance Taylor1-4/+4
on the shift count rather than % 32.
1993-10-27 * nlmcode.h (nlm_swap_auxiliary_headers_in,Ian Lance Taylor1-0/+6
nlm_swap_auxiliary_headers_out): Handle sharedDebugRecordOffset and sharedDebugRecordCount fields.
1993-10-27 * nlmconv.c (main): Set sharedDebugRecordOffset andIan Lance Taylor1-0/+3
sharedDebugRecordCount fields in extended header.
1993-10-27* gdb.texinfo (Command Files): Explain order of init file reading.Jim Kingdon2-5/+10
1993-10-27 * nlmconv.c (main): Force moduleName field to upper case.Ian Lance Taylor2-42/+110
1993-10-27 * config/tc-mips.c (macro_build): Handle '>' case (shift amountIan Lance Taylor2-0/+20
between 32 and 63 for double shift instruction). (mips_ip): Likewise. (printInsn): Likewise.
1993-10-27 * mips-opc.c (dsll, dsra, dsrl): Added '>' cases for shift countsIan Lance Taylor1-0/+5
larger than 32. Moved dsxx32 variants first for disassembler.
1993-10-27 * common.h (NLM_SIGNATURE): Do not define (it's different for eachIan Lance Taylor3-75/+379
backend). Also minor comment changes to internal.h and external.h.
1993-10-27 * remote.texi (Bootstrapping): Talk about getting the serial driverJim Kingdon1-3/+6
to deal with ^C sent by gdb to stop the remote system.
1993-10-27 * remote.texi (Bootstrapping): Talk about getting the serial driverJim Kingdon2-2/+19
to deal with ^C sent by gdb to stop the remote system.
1993-10-27* mips-tdep.c (mips_pop_frame): If proc_desc is NULL, don't dump core.Jim Kingdon1-0/+4
1993-10-26Get rid of "Sanitize for-fsf" stuff; it didn't get the right results.Ken Raeburn2-33/+1
1993-10-26 * configure.in: Produce warning message for subdirectories notKen Raeburn2-28/+62
configurable for this host/target combination. Don't try to configure gdb for vms. (Needed for FSF releases. Should be harmless for ours.)
1993-10-26 gcc -Wall lint:Jim Kingdon3-1/+6
* nlmread.c: Include stabsread.h. * Makefile.in: Update dependencies.
1993-10-26 * config/tc-ns32k.c (tc_aout_fix_to_chars): Output the symbolIan Lance Taylor1-0/+4
number in the right place. Untested. Probably does not work for cross assembly. From cagney@cs.adelaide.edu.au (Andrew Cagney).
1993-10-26 * config/tc-m68k.c (md_apply_fix_2): Error if a short branch usesIan Lance Taylor2-1/+14
an illegal offset of 0 or -1.
1993-10-26 * targets.c (target_vector): Remove SCO_CORE. On Sep 11 1993,Jim Kingdon2-11/+16
we started using trad-core.c for SCO instead. * targets.c (target_vector): Re-enable generic ELF and NLM targets.
1993-10-26 * config/obj-elf.c (obj_elf_init_stab_section): Align .stabIan Lance Taylor2-93/+198
section to a longword boundary.
1993-10-26 * elfcode.h (assign_file_position_for_section): Align sh_offset toIan Lance Taylor2-37/+41
sh_addralign (this is what UnixWare does, and it shouldn't hurt).
1993-10-26 * remote.c: Change PBUFSIZ back to 400. John's 28 Feb 1992 changeJim Kingdon2-21/+56
to increase it broke the ability to write large chunks of memory with m68k-stub and i386-stub. Now we only use more than 400 on machines where we need that much to write the registers. * remote.c (remote_write_bytes): Eliminate possible abort(). The check for when to abort was off by a few bytes and besides which, it is handled by MAXBUFBYTES, which the caller uses. * m68k-stub.c: Add comments about trap #1 and trap #8 instructions.
1993-10-26* Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdbDavid Edelsohn1-1/+2
* interp.c: #include "remote-sim.h". (sim_resume): int result, new arg `siggnal'. (sim_write): Use SIM_ADDR for type of arg `addr'. (sim_read): Use SIM_ADDR for type of arg `addr'. Use unsigned char * for `buffer'. (sim_store_register): int result. (sim_fetch_register): Ditto. (sim_stop_reason): Renamed from sim_stop_signal. New arg `reason'. (sim_set_pc): int result, use SIM_ADDR for type of arg `x'. (sim_info): int result, new args `verbose', `printf_fn'. (sim_kill): int result. (sim_open): int result, new arg `name'. * run.c: #include <stdio.h> (main): Update call to sim_info.
1993-10-26Makefile.in, tc-hppa.c changesKen Raeburn1-0/+8
1993-10-26list a bunch of files known to get deletedKen Raeburn1-0/+12
1993-10-26Show full pathnames.Ken Raeburn1-7/+9
For "safe" case, move tc-sparc64 files into .Recover, instead of deleting them.
1993-10-26(tc_gen_reloc): ELF32_HPPA_R_ADDEND -> HPPA_R_ADDEND.Ken Raeburn1-3225/+2707
1993-10-26From Jeff Law and Pete Hoogenboom at Utah:Ken Raeburn3-137/+200
* elf32-hppa.h (hppa_elf_stub_finish): Add prototype. (ELF32_HPPA_R_ARG_RELOC): Renamed without the ELF32 prefix and moved into libhppa.h. All references changed. (ELF32_HPPA_R_CONSTANT, ELF32_HPPA_R_ADDEND): Likewise. (get_opcode and opcode defines): Move into libhppa.h * elf32-hppa.c (hppa_elf_insn2fmt): Rename and move info libhppa.h. * libhppa.h (HPPA_R_*): Moved here. Reformatted slightly to make for easier reading. (get_opcode): Moved here. FIXME! this really should be a C function inside the opcode library! (bfd_hppa_insn2fmt): Likewise. * targets.c (target_vector): Enable elf32-hppa vector. * elf32-hppa.c (hppa_elf_get_section_contents): Add new comments and clarify existing comments. Do not use DEFUN to declare this function. Fix numerous indention problems. Correctly handle cases where symbol extension section may need to be read from disk, read from memory, or built then read from memory. * elf32-hppa.h: Reformat with gnu-indent and hand fix numerous formatting and indention problems gnu-indent can not handle. Clarify some comments about relocation types. Comment basic relocation "classes". Group PARAM declarations together. (HPPA_SXT_{NULL, SYMNDX, RG_RELOC}): Make members of a new enumerated type rather than #defines.
1993-10-26* Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdbDavid Edelsohn3-25/+54
* compile.c: #include "remote-sim.h". (sim_resume): New arg siggnal. (sim_write): Use SIM_ADDR for type of arg addr. Always return a value. (sim_read): Ditto. (sim_store_register): Result is type int. (sim_fetch_register): Ditto. (sim_stop_reason): Renamed from sim_stop_signal. (sim_set_pc): Use SIM_ADDR for type of arg pc. (sim_info): int result, new arg printf_fn. (sim_kill): int result. (sim_open): int result, new arg name. * run.c (main): Use sim_set_pc to set pc. Update call to sim_info.
1993-10-26* remote-sim.h (SIM_ADDR): New type (same as CORE_ADDR).David Edelsohn3-11/+39
(sim_set_pc): Update prototype. (sim_read, sim_write): Ditto, and use unsigned char *buf. (sim_fetch_register, sim_store_register): Use unsigned char *buf. (sim_info): Pass printf function as argument, add verbose argument. (sim_stop_reason): Renamed from sim_stop_signal, fix prototype. * remote-sim.c (gdbsim_wait): Update call to sim_stop_reason. (gdbsim_files_info): Update call to sim_info.
1993-10-26 * valops.c (value_assign): Call reinit_frame_cache when assigningJim Kingdon2-0/+14
to a register.
1993-10-26 * som.c (hppa_object_setup): Set SEC_CODE for .text section soStu Grossman2-191/+568
that GDB can figure out text_start and text_end.
1993-10-26 * infrun.c (wait_for_inferior): Fix PC out of objfile boundsStu Grossman1-2/+2
check to just use stop_func_name == 0.
1993-10-25 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.Stu Grossman2-1/+5
1993-10-25 * infrun.c (wait_for_inferior): Fix PC out of subroutine boundsStu Grossman3-14/+45
check to use prev_func_start/end instead of stop_func_start/end. * remote-udi.c (store_register): Invalidate NPC/PC_REGNUM after changing PC.
1993-10-25* gdb.t06/signals.exp: Skip whole file with xfail for HPPA.Jim Kingdon1-0/+2
1993-10-25 Fix up warnings from gcc -Wall:Ian Lance Taylor2-11/+17
* coffgen.c (coff_print_symbol): Use %lx and cast n_value to unsigned long. Use %ld for tagndx. Use %lx for offset + vma and cast it to unsigned long. * ecoff.c (ecoff_emit_aggregate): Use %ld. (ecoff_print_symbol): Use %ld, and cast indx and sym_base to long. * coffcode.h (dummy_reloc16_estimate): Specify return type.