aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
1993-10-25 * gdbserver/{low-lynx.c,low-sparc.c,low-sun3.c}, standalone.c,Jim Kingdon9-41/+46
m3-nat.c, i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c: bcopy -> memcpy.
1993-10-25Changed the DOC parameter type to gdb_define_app_command.Thomas Lord2-8/+12
Fixed typo.
1993-10-25 * objcopy.c (main): Give a usage message if there are too manyIan Lance Taylor1-0/+5
arguments.
1993-10-25 gcc -Wall lint:Jim Kingdon2-2/+11
* breakpoint.c: Include thread.h. * coffread.c: Include stabsread.h. * Makefile.in: Update dependencies. * breakpoint.c (mention): Add bp_call_dummy to switch. * symmisc.c (dump_symtab): Use %d not %ld for line number.
1993-10-25 * relax.c (write_relax): Check return value of bfd_seclet_link.Ian Lance Taylor2-9/+7
1993-10-25 * libbfd.c (bfd_write): If not everything is written out, setIan Lance Taylor3-34/+64
bfd_error to system_call_error. If the return value is non-negative, set errno to ENOSPC (if ENOSPC is defined). (bfd_seek): If the seek fails, set bfd_error to system_call_error. (bfd_generic_set_section_contents): For a bad offset + count, set bfd_error to bad_value. * seclet.c (rel): Don't abort. Instead, return false.
1993-10-25Substantial rewrite.Thomas Lord2-1235/+647
1993-10-25 * config/tc-sh.c (build_Mbytes): Write the relocs to the correctSteve Chamberlain1-0/+4
address. (md_assemble): Make error handling a bit more graceful. (md_apply_fix): Don't warn on non aligned displacement.
1993-10-25 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.Jim Kingdon1-0/+5
It is not from PR 3220.
1993-10-25Add full lda informationSteve Chamberlain1-0/+14
1993-10-25Fix up membar argument handling.Ian Lance Taylor1-2/+1
1993-10-25 * Makefile.in (taz): Replace "byacc" with "bison -y" in theKen Raeburn1-13/+33
appropriate files before making "diststuff". (DISTBISONFILES): New var: list of files to be edited. (DISTSTUFFDIRS): Add binutils.
1993-10-25 * config/tc-z8k.c (get_specific, built_bytes): Understand all theSteve Chamberlain1-0/+5
aspects of lda.
1993-10-25 * config/tc-sparc.c (sparc_ip): Use strtol to parse membarIan Lance Taylor2-5/+9
argument, to permit hexadecimal numbers.
1993-10-25doc/Makefile.in, write.c, config/tc-sparc.* changesKen Raeburn1-0/+14
1993-10-25 * write.c (write_relocs): For relocs that are pc_relative andKen Raeburn1-8/+19
pcrel_offset and not partial_inplace, adjust reloc->addend to compensate for a bfd_perform_relocation bug.
1993-10-25* config/tc-sparc.h: Removed remaining non-BFD_ASSEMBLER code.Ken Raeburn1-177/+67
* config/tc-sparc.c: Ditto. (tc_gen_reloc): Include fx_offset for pcrel fixups.
1993-10-25* Makefile.in (install-info): Rewrite to take advantage of VPATH, so FSFKen Raeburn1-0/+17
distributions (with info files in $(srcdir)) install properly. (DISTSTUFF): Build nlmheader.c too.
1993-10-25aoutx.h (reloc_type_lookup): Handle BFD_RELOC_SPARC_WDISP22.Ken Raeburn1-0/+9
1993-10-25bunch of changes...Ken Raeburn1-0/+20
1993-10-25keep diff1.sKen Raeburn1-0/+1
1993-10-25new test case for relocations with addendsKen Raeburn3-0/+49
1993-10-25keep pic1.sKen Raeburn1-0/+1
1993-10-25test case for relocations with addendsKen Raeburn2-0/+47
1993-10-25keep new sun4 dirKen Raeburn1-0/+1
1993-10-25* ldlang.c (delete_output_file_on_failure): New variable.Ken Raeburn2-1/+31
(open_output): Set it after bfd open succeeds. * ldmisc.c (vfinfo): Test it. Changes from Peter Hoogenboom, hoogen@cs.utah.edu: * ldsym.c (write_file_locals): Set the BSF_FILE flag for object symbols. * ldemul.c: Support was added to allow emulation-specific processing to occur. This support was added primarily for linker stub generation in the elf32-hppa gld. (ldemul_finish, ldemul_create_output_section_statements): New functions. * ldemul.h: Support was added to allow emulation-specific processing to occur. (As described above.) Added finish and create_output_section_statements fields to ld_emulation_xfer_struct structure. * ldlang.c: Add calls to emulation-specific routines. (lang_process): Add call to ldemul_create_output_section_statements function. (lang_process): Add call to a emulation-specific routine (and some processing after the call).
1993-10-25Remove incorrect comment about SEC_HAS_CONTENTS not getting set.Fred Fish1-2/+1
1993-10-25 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests whichJim Kingdon1-0/+7
just started failing because they depended on the order the subcommands are presented, or exact docstring text. This kind of test is a pain and has minimal benefit.
1993-10-24Add support for .dword pseudo op to mips port.Jim Wilson2-2/+12
1993-10-24Sun Oct 24 20:16:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jim Kingdon5-42/+58
* parse.c, parser-defs.h (write_exp_msymbol): New function to write the appropriate expression for a minimal symbol. * c-exp.y, m2-exp.y: Use it.
1993-10-24 * remote-vx.c (vx_wait): Rename pid parameter to pid_to_wait_for.Jim Kingdon1-3/+4
Some compilers (legitimately) don't like variables in the function's outermost block whose name is the name as a parameter.
1993-10-24 * elfread.c (elf_symtab_read): Use bfd convention that bothFred Fish2-3/+12
initialized and uninitialized data sections have the SEC_ALLOC flag bit set, but only initialized sections have SEC_LOAD set. SEC_DATA is ignored since it only gets set for initialized data. Likewise, SEC_HAS_CONTENTS is ignored now because it never gets set.
1993-10-24use lowercase "format" instead of Format/formatDavid D. Zuhn1-0/+8
1993-10-24remove debugging output accidentally checked inDavid D. Zuhn1-4/+1
1993-10-23(sim_stop_signal): Result is now enum sim_stop.David Edelsohn2-21/+86