Jim Kingdon [Sun, 16 Jan 1994 23:43:22 +0000 (23:43 +0000)]
* complete.c, bind.c: Include <sys/stat.h>.
* complete.c: Define X_OK if not defined by a system header.
Jim Kingdon [Sun, 16 Jan 1994 22:45:13 +0000 (22:45 +0000)]
* Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR):
Add various files which were added to GDB recently.
Jim Kingdon [Sun, 16 Jan 1994 20:09:59 +0000 (20:09 +0000)]
* xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not
within_function.
Jim Kingdon [Sun, 16 Jan 1994 18:48:02 +0000 (18:48 +0000)]
* chardefs.h: Don't declare xmalloc.
* keymaps.h: Include "chardefs.h" not <readline/chardefs.h>.
Jim Kingdon [Sun, 16 Jan 1994 18:30:32 +0000 (18:30 +0000)]
* stabs.texinfo: Re-do stuff about C_BSTAT and move from XCOFF
Differences node to Statics node.
(Statics): Discuss XCOFF use of V symbol descriptor.
Jim Kingdon [Sun, 16 Jan 1994 17:47:47 +0000 (17:47 +0000)]
* Makefile.in: Add mostlyclean target.
Jim Kingdon [Sun, 16 Jan 1994 17:45:32 +0000 (17:45 +0000)]
* Makefile.in: Remove refcard.dvi and GDBvn.texi in realclean,
not clean.
Jim Kingdon [Sun, 16 Jan 1994 17:39:16 +0000 (17:39 +0000)]
* Makefile.in (clean mostlyclean distclean realclean): Recurse
into subdirectories as well as doing this directory. Add clean-dvi
target.
Jim Kingdon [Sun, 16 Jan 1994 17:35:23 +0000 (17:35 +0000)]
* Makefile.in (clean mostlyclean distclean realclean): Recurse
into subdirectories as well as doing this directory.
Per Bothner [Sun, 16 Jan 1994 04:04:13 +0000 (04:04 +0000)]
* readline.c, display.c: Patches to allow use of all 80
columns on most terminals (those with am and xn).
Jim Kingdon [Sun, 16 Jan 1994 03:43:22 +0000 (03:43 +0000)]
* Version 4.11.4.
Per Bothner [Sun, 16 Jan 1994 03:39:57 +0000 (03:39 +0000)]
Merge in changes from bash-1.13. The most obvious one is
that the file readline.c has been split into multiple files.
* bind.c, complete.c, dispay.c, isearch.c, parens.c, rldefs.h,
rltty.c, search.c signals.c, tilde.c, tilde.h, xmalloc.c: New files.
Per Bothner [Sun, 16 Jan 1994 03:35:19 +0000 (03:35 +0000)]
* main.c (show_commands): Make return type of extern
history_get be HIST_ENTRY, rather than struct _hist_entry.
(The latter loses with the upcoming merged readline.)
Jim Kingdon [Sun, 16 Jan 1994 03:23:50 +0000 (03:23 +0000)]
* minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
const char *, not char *.
Jim Kingdon [Sun, 16 Jan 1994 03:14:21 +0000 (03:14 +0000)]
* symtab.h (struct symbol): Make section short, not unsigned short.
Jim Kingdon [Sun, 16 Jan 1994 02:39:50 +0000 (02:39 +0000)]
* symtab.c (lookup_symbol): Add comment about QUIT here.
Jim Kingdon [Sat, 15 Jan 1994 23:00:27 +0000 (23:00 +0000)]
* gdb.t16/printcmds.exp (test_print_strings): Accept
"(unsigned char *) " before the string.
Stan Shebs [Sat, 15 Jan 1994 20:50:15 +0000 (20:50 +0000)]
Sat Jan 15 12:47:23 1994 Stan Shebs (shebs@andros.cygnus.com)
* config.sub (apple, mac, mpw): Add various aliases.
Stan Shebs [Sat, 15 Jan 1994 20:46:29 +0000 (20:46 +0000)]
Fri Jan 7 14:34:31 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-build.in: New file, top-level build script fragment for MPW.
* mpw-configure: New file, configure script for MPW.
* mpw-config.in: New file, config fragment for MPW.
Jim Kingdon [Sat, 15 Jan 1994 20:14:43 +0000 (20:14 +0000)]
* utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
Jim Kingdon [Sat, 15 Jan 1994 19:51:56 +0000 (19:51 +0000)]
* c-exp.y (parse_number): Make it so that integer constants are
builtin_type_long_long if builtin_type_long isn't big enough or if
an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.
David Edelsohn [Sat, 15 Jan 1994 19:00:32 +0000 (19:00 +0000)]
* app.c (do_scrub_next_char): Allow lines like " foolab :".
David Edelsohn [Sat, 15 Jan 1994 17:33:16 +0000 (17:33 +0000)]
* read.c (emit_expr): Fix computation of mask.
David Edelsohn [Sat, 15 Jan 1994 17:31:05 +0000 (17:31 +0000)]
* config/obj-elf.c (obj_elf_section): Fix loop termination test.
Jim Kingdon [Sat, 15 Jan 1994 17:14:18 +0000 (17:14 +0000)]
* c-exp.y (parse_number): Check for overflow regardless of range
checking. Fix overflow check to use unsigned LONGEST, not
unsigned int.
* c-exp.y (parse_number): Make it so that integer constants are
builtin_type_long_long if builtin_type_long isn't big enough or if
an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.
Jim Kingdon [Sat, 15 Jan 1994 17:03:41 +0000 (17:03 +0000)]
* TODO: Add notes about printing of fancy types and GDB expressions.
Jim Kingdon [Sat, 15 Jan 1994 16:30:04 +0000 (16:30 +0000)]
* TODO: Add notes about printing of fancy types and GDB expressions.
Jim Kingdon [Sat, 15 Jan 1994 15:27:49 +0000 (15:27 +0000)]
* c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC):
Print our "()" first, then recurse for the target type.
Jim Kingdon [Sat, 15 Jan 1994 14:58:41 +0000 (14:58 +0000)]
* TODO: Add note about printing of fancy types.
Jim Kingdon [Sat, 15 Jan 1994 04:28:18 +0000 (04:28 +0000)]
* remote-udi.c (udi_create_inferior): Quote empty execfile argument.
Jim Kingdon [Sat, 15 Jan 1994 03:51:40 +0000 (03:51 +0000)]
* gdbserver/low-lynx.c: Include <sys/wait.h> not /usr/include/wait.h.
Jim Kingdon [Sat, 15 Jan 1994 03:43:01 +0000 (03:43 +0000)]
* utils.c (request_quit): Re-establish signal handler regardless
of USG.
* config/mips/xm-irix4.h: Define HAVE_TERMIOS.
Jim Kingdon [Sat, 15 Jan 1994 02:56:47 +0000 (02:56 +0000)]
* i960-tdep.c: Include target.h.
Stan Shebs [Sat, 15 Jan 1994 01:15:55 +0000 (01:15 +0000)]
Fri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com)
* lynx-nat.c (sys/wait.h): Don't use absolute pathname.
Ian Lance Taylor [Fri, 14 Jan 1994 22:35:41 +0000 (22:35 +0000)]
* elfcode.h (elf_object_p): If there is a SHT_DYNAMIC section, set
the DYNAMIC flag for the BFD.
(NAME(bfd_elf,write_object_contents)): Don't try to write out a
BFD with the DYNAMIC flag set, since we don't generate the program
header table correctly.
Ian Lance Taylor [Fri, 14 Jan 1994 21:44:44 +0000 (21:44 +0000)]
* objcopy.c (strip_main, copy_main): Don't clobber the input file
if copy_file fails.
Ian Lance Taylor [Fri, 14 Jan 1994 20:58:43 +0000 (20:58 +0000)]
* nlmconv.c (main): Warn about an attempt to use a shared library
with uninitialized data.
Ian Lance Taylor [Fri, 14 Jan 1994 20:43:07 +0000 (20:43 +0000)]
Motorola Delta sysV68 support from phdm@info.ucl.ac.BE (Philippe
De Muyter).
* configure.in (m68k-motorola-sysv*) New target.
* config/delta68.mt: New file.
* emulparams/delta68.sh: New file.
* scripttempl/delta68.sc: New file.
* Makefile.in (ALL_EMULATIONS): Added em_delta68.o.
(em_delta68.c): New target.
Jim Kingdon [Fri, 14 Jan 1994 19:57:50 +0000 (19:57 +0000)]
* lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus
changes (status -> ourstatus; declare status, etc.).
* config/nm-lynx.h: Fix child_wait prototype and include target.h.
Ian Lance Taylor [Fri, 14 Jan 1994 19:55:42 +0000 (19:55 +0000)]
* nlmconv.c (setup_sections): Make sure that we align the
output_offset of each input section appropriately.
Jim Kingdon [Fri, 14 Jan 1994 19:19:56 +0000 (19:19 +0000)]
* Makefile.in (ALLPARAM): Add config/nm-lynx.h.
Ian Lance Taylor [Fri, 14 Jan 1994 16:52:22 +0000 (16:52 +0000)]
* remote-mips.c (mips_request, mips_wait): Correct prototypes.
Jim Kingdon [Fri, 14 Jan 1994 16:41:35 +0000 (16:41 +0000)]
* config/i386/xm-linux.h: Define HAVE_TERMIOS.
Peter Schauer [Fri, 14 Jan 1994 09:22:44 +0000 (09:22 +0000)]
* config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment.
Ian Lance Taylor [Fri, 14 Jan 1994 04:10:44 +0000 (04:10 +0000)]
* ecoff.c (ecoff_link_write_external): An ifd can be -1.
Ken Raeburn [Fri, 14 Jan 1994 02:05:28 +0000 (02:05 +0000)]
ecoff.c, as.c changes
Ken Raeburn [Fri, 14 Jan 1994 02:01:52 +0000 (02:01 +0000)]
(ecoff_set_gp_prolog_size): New function.
(current_file_idx): New static variable.
(add_file): Use and increment current_file_idx instead of indx parameter.
Also removed trailing whitespace from lines.
Ken Raeburn [Fri, 14 Jan 1994 01:55:59 +0000 (01:55 +0000)]
Oops. Didn't mean to change reject_dev_configs.
Ken Raeburn [Fri, 14 Jan 1994 01:54:01 +0000 (01:54 +0000)]
Don't include config.h directly any more.
Ken Raeburn [Fri, 14 Jan 1994 01:28:19 +0000 (01:28 +0000)]
* struc-symbol.h (struct symbol): Make all bitfields unsigned.
Jim Kingdon [Thu, 13 Jan 1994 23:06:03 +0000 (23:06 +0000)]
* remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960
is defined. Otherwise just report TARGET_SIGNAL_UNKNOWN.
Jeff Law [Thu, 13 Jan 1994 22:53:03 +0000 (22:53 +0000)]
* som.c (som_set_reloc_info): Provide a default symbol for
relocations which don't actually have an associated symbol.
Ian Lance Taylor [Thu, 13 Jan 1994 22:34:51 +0000 (22:34 +0000)]
* objdump.c (dump_relocs): Don't crash if section name is NULL.
Ken Raeburn [Thu, 13 Jan 1994 21:34:15 +0000 (21:34 +0000)]
Changes for i960_validate_fix, i386-netbsd* configs, BFDDEF handling, literal
pool offset bugs, config.h handling.
Ken Raeburn [Thu, 13 Jan 1994 21:31:50 +0000 (21:31 +0000)]
(add_to_literal_pool): Take symbol and addend as arguments, instead of
expression, for now. Fix calculation of offset to return.
Ken Raeburn [Thu, 13 Jan 1994 21:30:18 +0000 (21:30 +0000)]
(segment_info_type) [NEED_LITERAL_POOL]: Add field literal_pool_size.
Ken Raeburn [Thu, 13 Jan 1994 21:27:49 +0000 (21:27 +0000)]
* as.h: Include config.h. Added forward declaration for struct symbol.
(add_to_literal_pool): Fix declaration.
Ken Raeburn [Thu, 13 Jan 1994 21:24:27 +0000 (21:24 +0000)]
* configure.in (i386-*-netbsd*): New target, using te-netbsd.h.
(i386-*-netbsd0.8): New target, like 386bsd.
* configure.in: Set BFDDEF in Makefile to "define" or "undef".
* Makefile.in (config.h): Protect against multiple inclusions. Define or undef
BFD_ASSEMBLER as specified by $(BFDDEF).
(ALL_CFLAGS): Omit $(BFDDEF).
Jeff Law [Thu, 13 Jan 1994 20:34:25 +0000 (20:34 +0000)]
* som.c (hppa_som_reloc): Add new "error message" argument.
Jeff Law [Thu, 13 Jan 1994 20:17:39 +0000 (20:17 +0000)]
* config/obj-som.c (som_frob_file): Call adjust_code_sections
for each section.
(adjust_code_sections): New function. Adjusts the VMA for all the
$CODE$ subspaces.
* config/tc-hppa.c (md_assemble): Also handle creating a fixup
for the unwind descriptors if a function's label follows the
.PROC and .ENTRY directives.
(pa_entry): Don't set BSF_FUNCTION for the label symbol here; it
is done elsewhere. Don't create a fixup for the unwind
descriptors if the function's label has not been defined yet.
(pa_proc): For SOM, place each procedure within a new $CODE$
subspace. Adjust the segment and frag for the associated
function label if it exists.
Jeff Law [Thu, 13 Jan 1994 20:17:07 +0000 (20:17 +0000)]
* subsegs.c (subseg_get): Accept new argument "force_new". If
set then a new segment is always created. All callers changed.
(subseg_force_new): New function. Similar to subseg_new, but
always force a new segment to be created.
* config/obj-som.c (som_frob_file): Call adjust_code_sections
for each section.
(adjust_code_sections): New function. Adjusts the VMA for all the
$CODE$ subspaces.
* config/tc-hppa.c (md_assemble): Also handle creating a fixup
for the unwind descriptors if a function's label follows the
.PROC and .ENTRY directives.
(pa_entry): Don't set BSF_FUNCTION for the label symbol here; it
is done elsewhere. Don't create a fixup for the unwind
descriptors if the function's label has not been defined yet.
(pa_proc): For SOM, place each procedure within a new $CODE$
subspace. Adjust the segment and frag for the associated
function label if it exists.
Jeff Law [Thu, 13 Jan 1994 20:16:44 +0000 (20:16 +0000)]
* subsegs.c (subseg_get): Accept new argument "force_new". If
set then a new segment is always created. All callers changed.
(subseg_force_new): New function. Similar to subseg_new, but
always force a new segment to be created.
Jeff Law [Thu, 13 Jan 1994 20:01:22 +0000 (20:01 +0000)]
* gas/all/gas.exp: No longer expect difference of forward
references to fail.
* gas/all/x930509.s: Fix testcase to match how the expect code was
written.
Jim Kingdon [Thu, 13 Jan 1994 18:44:06 +0000 (18:44 +0000)]
Add search to target vector (#if 0'd until after 4.12):
* target.h (to_search, target_search): Add.
* gdbcore.h, core.c (generic_search): Add.
* remote.c (remote_search): Add.
* a29k-tdep.c (init_frame_info): Use target_search to find traceback
tag.
Jim Kingdon [Thu, 13 Jan 1994 17:41:40 +0000 (17:41 +0000)]
* printcmd.c (print_address_symbolic): If set print fast-symbolic-addr
is on, call find_pc_function rather than relying just on the minimal
symbols (probably only matters for symbol readers which don't put
statics in the minimal symbols, but changing this strikes me as
not conservative enough).
Initialize name_location in all cases.
If no symbol and no msymbol, don't print anything symbolic.
Jim Kingdon [Thu, 13 Jan 1994 15:38:00 +0000 (15:38 +0000)]
* a29k-tdep.c (push_dummy_frame): Add comment about saving lr0.
Jeff Law [Thu, 13 Jan 1994 06:06:35 +0000 (06:06 +0000)]
* config/tc-hppa.c (hppa_fix_struct): Add new "segment" field.
(hppa_fix_new): Initialize segment field.
(md_apply_fix): Do nothing for pc-relative fixup which involves
crossing a segment boundary.
(pa_procend): Undefine the current label after handling .PROC
and .PROCEND directives.
(dummy_symbol): Make type "symbolS *". Change references as
appropriate.
John Gilmore [Thu, 13 Jan 1994 05:35:48 +0000 (05:35 +0000)]
* gdb.texinfo (Print Settings): Document `set print
fast-symbolic-addr' and improve the doc for some other
`set print's.
John Gilmore [Thu, 13 Jan 1994 05:04:40 +0000 (05:04 +0000)]
* printcmd.c (print_address_symbolic): Make it search the
symtabs for variables as well as functions. Add `set print
fast-symbolic-addr' and default it to fast (the old way).
Print line numbers for data items as well as functions.
* symtab.c (find_addr_symbol): Return the symtab and the symbol
address, if a symbol is found (take two more args pointing to
where to store these results).
* symtab.h (find_addr_symbol): Add prototype.
Jim Kingdon [Thu, 13 Jan 1994 00:34:18 +0000 (00:34 +0000)]
* objfiles.h: Fix comments to reflect the fact that the phrase
"top of stack" always refers to where the pushing and popping takes
place, regardless of whether it is at the highest or lowest address.
Jeff Law [Wed, 12 Jan 1994 21:42:55 +0000 (21:42 +0000)]
* gas/hppa/more.parse/procbug.s: Add test for another bug relating
to having a function's label follow the .PROC directive.
Peter Schauer [Wed, 12 Jan 1994 21:40:42 +0000 (21:40 +0000)]
Enable gdb to write to core files on more core file readers.
* libbfd.c (bfd_generic_set_section_contents): Remove range check
for section size, it is already done in bfd_set_section_contents
with bfd_get_section_size_now.
* aix386-core.c, hppabsd-core.c, hpux-core.c, irix-core.c,
osf-core.c, ptrace-core.c, trad-core.c (*_set_section_contents):
Use bfd_generic_set_section_contents instead of bfd_false.
Peter Schauer [Wed, 12 Jan 1994 21:27:51 +0000 (21:27 +0000)]
* mdebugread.c (parse_symbol): Do not set TYPE_TAG_NAME for
compiler generated tag names.
* mdebugread.c (parse_type): Handle cross references to qualified
aggregate types.
* valops.c (value_struct_elt): Improve error message if the
address of a method is requested from an object instance.
* valops.c (search_struct_method): Make name_matched non-static
to get it initialized correctly.
Ian Lance Taylor [Wed, 12 Jan 1994 20:33:30 +0000 (20:33 +0000)]
* linker.c (default_indirect_link_order): Don't expect space for
output relocations if there aren't any input relocations.
Jim Kingdon [Wed, 12 Jan 1994 19:47:27 +0000 (19:47 +0000)]
* go32-xdep.c: Remove unused function uerror.
(sigsetmask): Declare return type. Declare argument (to match the
way it is called). Explicitly return 0.
Ian Lance Taylor [Wed, 12 Jan 1994 19:18:56 +0000 (19:18 +0000)]
Remove CVS merge markers.
Ian Lance Taylor [Wed, 12 Jan 1994 18:40:11 +0000 (18:40 +0000)]
* read.c (read_a_source_file): Cast array argument to unsigned
char.
* write.c (adjust_reloc_syms): Remove unused variable symseginfo.
(write_object_file): Don't define punt_it if it won't be used.
(fixup_segment): Don't define skip if it won't be used.
John Gilmore [Wed, 12 Jan 1994 09:53:06 +0000 (09:53 +0000)]
* symtab.h (struct symbol, general_symbol_info, minimal_symbol,
partial_symbol): Shrink the storage sizes of symbols, by making
enums into 1-byte bitfields when compiled __GNUC__, moving all the
enums and small ints to the end of each struct to improve
alignment, and switching the section number from int to unsigned short.
John Gilmore [Wed, 12 Jan 1994 08:18:55 +0000 (08:18 +0000)]
* symtab.c (find_addr_symbol): New routine that will find the nearest
symbol associated with an address. It does so by exhaustive
search of the symtabs, so it's slow but complete.
John Gilmore [Wed, 12 Jan 1994 08:02:26 +0000 (08:02 +0000)]
* coffread.c (read_coff_symtab): Set PC bounds of _globals_ symtab
to [0,0] rather than [0, end of first source file]. This avoids
problems with other parts of GDB looking for linetables in the
_globals_ symtab. Eliminate variables num_object_files and
first_object_file_end.
Fixes PR gdb/4072.
John Gilmore [Wed, 12 Jan 1994 07:47:14 +0000 (07:47 +0000)]
* a29k-tdep.c (init_frame_info): Cast null arg to examine_tag.
(pop_frame): Restore PC2 and LR0 from dummy frames.
(push_dummy_frame): Save PC2 and LR0 into dummy frames.
(setup_arbitrary_frame): Handle 3 args and set up real frames.
* config/a29k/tm-a29k.h (FRAME_NUM_ARGS): Update comments.
(DUMMY_FRAME_RSIZE): Add 2 longwords for PC2 and LR0.
(SETUP_ARBITRARY_FRAME): Define.
Jeff Law [Wed, 12 Jan 1994 05:55:09 +0000 (05:55 +0000)]
* app.c (do_scrub_next_char): Another attempt to fix bugs
dealing with labels without colons (for HPPA and MRI).
Jeff Law [Wed, 12 Jan 1994 05:49:12 +0000 (05:49 +0000)]
* gas/hppa/reloc/reloc.exp: Add test for cross-subspace call bug
found while working on multiple $CODE$ subspace support.
David Edelsohn [Wed, 12 Jan 1994 01:11:26 +0000 (01:11 +0000)]
* config/tc-sparc.c (sparc_ip): Truncate args to %hi/%lo to 32 bits.
David Edelsohn [Wed, 12 Jan 1994 01:04:10 +0000 (01:04 +0000)]
* expr.c (integer_constant): Fix computation of too_many_digits. Variable
digit_2 renamed to start. Fix check for whether number will fit in 32 bits.
* read.c (emit_expr): Use valueT instead of long.
Ian Lance Taylor [Tue, 11 Jan 1994 22:35:16 +0000 (22:35 +0000)]
* config/obj-elf.c: If TC_MIPS, include elf/mips.h.
(special_sections): Define.
(obj_elf_special_section): Get default types and attributes from
list of special sections.
* config/tc-mips.c (ELF_TC_SPECIAL_SECTIONS): Define.
Ian Lance Taylor [Tue, 11 Jan 1994 21:31:30 +0000 (21:31 +0000)]
* config/obj-ecoff.c (ecoff_frob_file): Force .sdata and .sbss
sections to be close together.
Ian Lance Taylor [Tue, 11 Jan 1994 20:58:30 +0000 (20:58 +0000)]
* aoutx.h (NAME(aout,final_link)): Set a_entry before computing
file offsets.
Jim Kingdon [Tue, 11 Jan 1994 20:24:02 +0000 (20:24 +0000)]
* gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
xfails; I'm not sure why they are failing, but not because of PR 1806.
Jim Kingdon [Tue, 11 Jan 1994 20:15:55 +0000 (20:15 +0000)]
* infrun.c, config/mips/tm-irix5.h: Remove #if 0'd AT_FUNCTION_START.
Ken Raeburn [Tue, 11 Jan 1994 19:53:28 +0000 (19:53 +0000)]
log for netbsd changes checked in a couple of days ago
Ian Lance Taylor [Tue, 11 Jan 1994 19:39:28 +0000 (19:39 +0000)]
* elfcode.h (swap_out_syms): A common symbol is STT_OBJECT, not
STT_NOTYPE.
Ian Lance Taylor [Tue, 11 Jan 1994 19:28:31 +0000 (19:28 +0000)]
* remote-udi.c (udi_resume): Correct prototype.
Ian Lance Taylor [Tue, 11 Jan 1994 19:18:45 +0000 (19:18 +0000)]
* config/tc-mips.c (macro): Corrected $at warnings in a couple of
spots.
Jeff Law [Tue, 11 Jan 1994 19:14:11 +0000 (19:14 +0000)]
* config/pa/tm-hppa.h (FRAME_FIND_SAVED_REGS): Call
hppa_frame_find_saved_regs.
* hppa-tdep.c (dig_fp_from_stack): Delete function.
(prologue_inst_adjust_sp): New function.
(is_branch, inst_saves_gr, inst_saves_fr): New functions.
(skip_prologue): Completely rewrite to use unwind information.
(hppa_frame_find_saved_regs): Likewise.
Jim Kingdon [Tue, 11 Jan 1994 18:45:05 +0000 (18:45 +0000)]
* remote-mips.c (mips_wait): Use new function mips_signal_from_protocol
to convert a signal number with appropriate bounds checking.
Ian Lance Taylor [Tue, 11 Jan 1994 18:22:51 +0000 (18:22 +0000)]
* scripttempl/elf.sc: Correct typo.
Ian Lance Taylor [Tue, 11 Jan 1994 18:06:01 +0000 (18:06 +0000)]
* listing.c (listing_prev_line): New function.
* listing.c: Include subsegs.h.
(listing_prev_line): New function.
(calc_hex): Reset byte_in_frag to zero for each new frag.
* config/tc-mips.c (append_insn): Call listing_prev_line after
emitting nop instructions.
* Makefile.in (listing.o): Depends upon subsegs.h.
Ian Lance Taylor [Tue, 11 Jan 1994 16:23:41 +0000 (16:23 +0000)]
* ecofflink.c: Extensive changes to compress and merge debugging
information, and to write some of out directly rather than saving
it in memory. Several new functions and structures, and new
arguments to existing functions.
* ecoff.c (ecoff_compute_reloc_file_positions): Compute
sym_filepos as well.
(ecoff_get_extr): Use ifdmap instead of ifdbase.
(ecoff_write_object_contents): Don't compute sym_filepos here.
Only output symbols if outsymbols is not NULL.
(ecoff_bfd_final_link): Adjust for changes in ecoff_debug_info and
bfd_ecoff_debug functions. Write out debugging information here.
(ecoff_final_link_debug_accumulate): Adjust for changes in
bfd_ecoff_debug functions.
(ecoff_link_write_external): Use ifdmap rather than ifdbase.
* elf32-mips.c (mips_elf_read_ecoff_info): Read external symbols
first, to put them in the first memory buffer. Clear fdr field.
(mips_elf_get_extr): Use pointer to unswapped external symbol.
(mips_elf_final_link): Adjust for changes in bfd_ecoff functions.
Preserve .text, .data and .bss even if they are empty. Save
pointer to unswapped external symbol rather than copying it.
Don't free up the external symbols.
* libelf.h (elf_symbol_type): Change mips_extr to PTR.
* bfd-in.h (bfd_ecoff_debug_init, bfd_ecoff_debug_free): Declare.
(bfd_ecoff_debug_accumulate): Update declaration.
(bfd_ecoff_debug_accumulate_other): Rename declaration from
bfd_ecoff_debug_link_other and update.
(bfd_ecoff_write_accumulated_debug): Declare.
* bfd-in2.h: Rebuilt.
* Makefile.in: Rebuilt dependencies.
Jim Kingdon [Tue, 11 Jan 1994 15:04:02 +0000 (15:04 +0000)]
* remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377).
This page took 0.03878 seconds and 4 git commands to generate.