aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1993-09-23obj-coffbfd relax_align changeKen Raeburn1-0/+4
1993-09-23* config/m88k/tm-m88k.h, m88k-tdep.c: Add call function stuff.Jim Kingdon2-42/+98
1993-09-23relax_align is now staticKen Raeburn1-1/+1
1993-09-23 * infcmd.c (step_1), infrun.c (wait_for_inferior): Add commentsJim Kingdon7-20/+112
about SHIFT_INST_REGS. * exec.c (exec_file_command): Set text_end based on all code readonly sections, not just ".text". * defs.h, infcmd.c, config/z8k/tm-z8k.h, config/m88k/tm-m88k.h, config/sh/tm-sh.h, config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, z8k-tdep.c: Remove all references to ADDR_BITS_SET. * config/m88k/tm-m88k.h: Define TARGET_WRITE_PC. * config/m88k/tm-m88k.h: Add definitions for calling functions.
1993-09-23* gen-aout.c (main): Output newline after end of comment, not before.Ken Raeburn1-0/+6
(Reported by Jonathan Stone, jonathan@oscar.stanford.edu).
1993-09-23 * section.c (SEC_DEBUGGING): New section flag.Ian Lance Taylor4-4/+23
* elfcode.h (bfd_section_from_shdr): If section is SHT_PROGBITS, and the name starts with .debug, .line or .stab, set SEC_DEBUGGING. * elf32-target.h (TARGET_BIG_SYM, TARGET_LITTLE_SYM): Added SEC_DEBUGGING to section_flags. * elf64-target.h (TARGET_BIG_SYM, TARGET_LITTLE_SYM): Added SEC_DEBUGGING and SEC_CODE to section_flags. * bfd-in2.h: Updated.
1993-09-23 * config/mips/tm-mips.h (STORE_STRUCT_RETURN): Define as noop asPeter Schauer1-3/+2
1993-09-23 * config/mips/tm-mips.h (STORE_STRUCT_RETURN): Define as noop asPeter Schauer2-1/+25
the pushing of the struct return address is already handled in mips_push_arguments. * mips-tdep.c (reinit_frame_cache_sfunc): Fix typo in prototype declaration. * mipsread.c (parse_symbol, parse_type, upgrade_type): Add more sanity checks for corrupt symbol entries to avoid core dumps reported by benson@odi.com. Obviously Ultrix 4.3A cc now has the same problems as the OSF/1 alpha cc. * mipsread.c (parse_lines): Iterate over the range of the compressed line number entries, the old iteration sometimes failed to stop and wrote past the end of the LINETABLE. Add sanity check to avoid the same problem in case the line number info is corrupt. * mipsread.c (parse_procedure): Adjust pdr for alpha __sigtramp. * mipsread.c (parse_external, parse_partial_symbols): Ignore stNil symbols that are produced for statics in .o files and stLocal symbols that are produced for every section in OSF/1 dynamically linked executables. * mipsread.c (psymtab_to_symtab_1): Put out `undefined symbols' warning only under `verbose on' as there are many undefined symbols in a dynamically linked executable.
1993-09-23 * objdump.c (usage): Mention --stabs.Ian Lance Taylor2-59/+76
1993-09-23 * objcopy.c (copy_object): Copy all applicable file flags.Ian Lance Taylor2-0/+711
(copy_file): Don't copy EXEC_P specially here. This permits strip to generate an executable file on UnixWare; it still does not actually strip the debugging information.
1993-09-23* remote.texi (Bootstrapping): Discuss 386 call gates.Jim Kingdon2-5/+7
1993-09-23Add i386lynx-tdep.c.Stu Grossman1-0/+1
1993-09-23 * config/i960/nindy960.mt: Don't define REMOTE_O; REMOTE_O wasJim Kingdon2-4/+5
intended only for VxWorks. Remove dcache.o from TDEPFILES now that we pick it up from the default REMOTE_O.
1993-09-23CVS:Kung Hsu1-12/+16
1993-09-22 * bfd.c (tdata): Add lynx_core_data.Ian Lance Taylor1-0/+2
1993-09-22 * ecoff.c (ecoff_compute_section_file_positions): Set filepos forIan Lance Taylor2-39/+37
sections with SEC_LOAD set, even if SEC_HAS_CONTENTS is clear. (ecoff_write_object_contents): Don't set scnptr to zero just because size of section is zero. Needed for Irix 4.0.5F.
1993-09-22* mips-tdep.c (mips_frame_chain): If frame size zero, return zero.Jim Kingdon2-5/+7
1993-09-22 * mips-tdep.c (mips_frame_chain): If PROC_FRAME_OFFSET is zero,Jim Kingdon2-3/+17
then return zero.
1993-09-22 infcmd.c (step_1),K. Richard Pixley2-11/+2
infrun.c (wait_for_inferior): collapse SHIFT_INST_REGS ifdef and insert macro.
1993-09-22* remote-nindy.c: Declare ninMemGet and ninMemPut.Jim Kingdon2-0/+6
1993-09-22* Makefile.in: Add i386lynx-tdep to the right places.Stu Grossman9-70/+452
(TARDIRS): Add gdbserver. * exec.c (print_section_info): Print entry point. * i386lynx-nat.c (i386lynx_saved_pc_after_call): Move into i386lynx-tdep.c. Add core file support. * i386lynx-tdep.c: New module for Lynx/386 target dependant code. * maint.c: Add `maint info sections' command to print info about all sections that BFD knows about for exec and core files. * sparc-tdep.c (sparc_push_dummy_frame): Update stack pointer before putting frame on the stack. Consolidate writes to reduce traffic for remote debugging. * config/i386/i386lynx.mh (NATDEPFILES): Remove exec.o. * config/i386/i386lynx.mt (TDEPFILES): Add exec.o, i386lynx-tdep.o. * config/i386/nm-i386lynx.h: Add target_pid_to_str(). * config/i386/tm-i386lynx.h: Remove target_pid_to_str(). * sparclite/Makefile.in: Add deps to keep Sun make happy.
1993-09-22* config.bfd: Use i960-bout, not i960-coff for i960-*-nindy*.Jim Kingdon1-0/+4
1993-09-22 * Makefile.in (OPTIONAL_BACKENDS): Add lynx-core.o.Stu Grossman1-0/+12
* bfd-in2.h (tdata): Add lynx_core_data; * config.bfd configure.host: Get rid of superfluous netbsd and lynxos entries. * configure.in: Add lynx-core.o to Lynx config. * i386lynx.c: Add defs for core file support. * lynx-core.c: New file with Lynx core file support. * hosts/i386lynx.h: Move lots of host specific includes to here. Add def of HOST_LYNX. Remove unnecessary defs.
1993-09-22* Makefile.in (OPTIONAL_BACKENDS): Add lynx-core.o.Stu Grossman4-26/+245
* bfd-in2.h (tdata): Add lynx_core_data; * config.bfd configure.host: Get rid of superfluous netbsd and lynxos entries. * configure.in: Add lynx-core.o to Lynx config. * i386lynx.c: Add defs for core file support. * lynx-core.c: New file with Lynx core file support. * hosts/i386lynx.h: Move lots of host specific includes to here. Add def of HOST_LYNX. Remove unnecessary defs.
1993-09-22 * breakpoint.h, breakpoint.c (bpstat_stop_status): Add new argumentJim Kingdon3-34/+47
not_a_breakpoint. * infrun.c (wait_for_inferior): Pass it. Also consolidate the test of whether we are stepping into a CURRENTLY_STEPPING macro.
1993-09-22 * breakpoint.c (bpstat_stop_status),K. Richard Pixley4-33/+56
infcmd.c (step_1), infrun.c (wait_for_inferior): collapse SHIFT_INST_REGS ifdef and insert macro. * m88k-tdep.c: include ieee-float.h. new global target_is_m88110. new const struct ext_format_m88110 for float format. (pic_prologue_code): add braces. (next_insn): remove unused variable buf. (frame_find_saved_regs): remove unused variables next_addr, saved_regs, regnum. (frame_locals_address): remove unused variables frame, ap. (frame_args_address): remove unused variables frame, ap. (push_parameters): add some breaks and a default case. * remote-bug.c: remove redundant includes of value.h, target.h, serial.h. (bug_open): corrected typo, sr_multi_scan -> gr_multi_scan. (bug_fetch_register): special case sfip register for m88110. remove flag bit masking of pc registers. This should be handled by the ADDR_BITS_* macros. (bug_store_register): special case sfip register for m88110. Corrected sprint format for extended registers.
1993-09-22 * config/m88k/tm-m88k.h: white space and comment changes. includeK. Richard Pixley1-110/+239
ieee-float.h. expanded to cope with m88110 extended registers. (R0_REGNUM, XFP_REGNUM, X0_REGNUM): new macros. (SHIFT_INST_REGS): becomes a real macro.
1993-09-21(objfile_relocate): Relocate textlow and texthigh in psymtabs.Jim Kingdon1-0/+4
1993-09-21* breakpoint.c (breakpoint_1): Support bp_call_dummy.Jim Kingdon3-4/+8
1993-09-21 * Makefile.in: Remove definition of CC and remove the secondJim Kingdon1-0/+7
definition of CXX (the "CXX = gcc" one remains). These definitions were causing backquotes to be expanded within backquotes, which doesn't work.
1993-09-21 * elfread.c (record_minimal_symbol_and_info): Guess the section toIan Lance Taylor3-2/+70
use from the type. * objfiles.c: Include gdb-stabs.h for SECT_* macros. (objfile_relocate): Relocate textlow and texthigh in psymtabs. Relocate partial symbols. Check that minimal SYMBOL_SECTION is nonnegative before using it. * symtab.h: Adjust section field comment.
1993-09-21Snapshot of current i386 NetWare debugging stub.Ian Lance Taylor1-46/+65
Added some more debugging information. Added handling of memory fault errors when caused by invalid memory accesses. Always use N response, not S.
1993-09-21Whitespace/comment fixups.Ken Raeburn1-65/+45
Mention a29k, not sparc, in error messages and comments.
1993-09-21* remote.c, remote-utils.c: Use SERIAL_FLUSH_INPUT after opening it.Jim Kingdon3-0/+10
1993-09-21Add comment regarding section designation:Jim Kingdon1-1/+8
Mon Sep 6 15:43:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * remote.c (remote_wait): Added 'W' and 'N' responses.
1993-09-21 * printcmd.c (print_scalar_formatted): When truncating value we areJim Kingdon1-0/+6
going to print as unsigned, handle it generally for any length less than sizeof (LONGEST), rather than special-casing sizeof (char), sizeof (short), and sizeof (long). Clarify comment on what this is for.
1993-09-21 * symfile.c (deduce_language_from_filename): Accept .cxx for C++.Jim Kingdon2-7/+10
* buildsym.c (start_subfile): Use deduce_language_from_filename rather than checking for .C or .cc ourself.
1993-09-20 * nlmconv.c (main): Adjust data section size to correspond to bssIan Lance Taylor1-0/+21
alignment adjustment. Clear BSF_SECTION_SYM if symbol is moved to a different section. Use time_t for time variable. (setup_sections): Only put sections with contents in output NLM. (i386_mangle_relocs): No symbols are common at this point. Add casts to avoid warnings.
1993-09-20 * read.c (get_stab_string_offset): Make non-static. MakeIan Lance Taylor2-4/+42
arguments const. Don't align strings to 4 byte boundaries. * read.h: Declare get_stab_string_offset. * config/obj-elf.c (obj_elf_section): Set SEC_ALLOC as well as SEC_LOAD for progbits section. (obj_elf_init_stab_section): New function. (adjust_stab_sections): Add casts to avoid warnings. * config/obj-elf.h (INIT_STAB_SECTION): Call obj_elf_init_stab_section. (OBJ_PROCESS_STAB): Removed definition.
1993-09-20 * elfcode.h (bfd_section_from_shdr): Only set SEC_DATA for aIan Lance Taylor2-4/+17
SHF_PROGBITS or SHT_STRTAB section if SEC_ALLOC is set. Never set SEC_DATA for a SHF_NOBITS section. * nlm32-i386.c (nlm_i386_mangle_relocs): Check SEC_LOAD rather than SEC_CODE | SEC_DATA. Add some casts to avoid warnings. * nlmcode.h: Add some casts to avoid warnings. (nlm_write_object_contents): Ignore relocs for sections that are neither code nor data. Just use the symbol value for debugging symbols; don't offset by the section vma.
1993-09-20Use ftp device rather than "load" command.Rob Savoye1-69/+16
1993-09-20* defs.h: Declare argument of re_comp as const char *.Jim Kingdon2-2/+6
1993-09-20* remote.c, remote-mips.c: Use sr_get_debug not remote_debug.Jim Kingdon3-25/+24
1993-09-20* README: Say using bfd from another release doesn't generally work.Jim Kingdon1-0/+4
1993-09-20 * Makefile.in: define M4, and pass it down to sub-makes;David D. Zuhn1-0/+14
all-autoconf now depends on all-m4 * Makefile.in ({AR,RANLIB}_FOR_TARGET): make contingent on presence of {ar,ranlib} instead of a configured directory
1993-09-19* stabs.texinfo (Based Variables): New node.Jim Kingdon2-4/+49
1993-09-18 * mipsread.c (parse_type): Don't complain() if we guessed structJim Kingdon2-2/+15
and it was a union, or vice versa.
1993-09-18 * defs.h (make_cleanup): Change PTR to void * when inside PARAMS.Jim Kingdon7-129/+236
Some of the following is in #ifdef CALL_DUMMY_BREAKPOINT_OFFSET. * breakpoint.h (enum bptype): Add bp_call_dummy. (struct bpstat_what): Add call_dummy field. * infrun.c (wait_for_inferior): Deal with it. * breakpoint.c (bpstat_what): Deal with call dummy breakpoint. * infcmd.c (run_stack_dummy): Set the call dummy breakpoint. * config/sparc/tm-sparc.h: Define CALL_DUMMY_BREAKPOINT_OFFSET.
1993-09-18* gdb.t17/callfuncs.exp: Add "return 0" to end.Jim Kingdon1-0/+4
1993-09-17Add i386 SVR4 configuration files that I couldn't add remotely. SeeIan Lance Taylor5-0/+14
ChangeLog.