aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-10-12Sigh. I nuked more than one set of dje's changes.Ken Raeburn1-2/+2
1994-10-12Restore dje's changes that I accidentally nuked.Ken Raeburn1-0/+33
1994-10-12* config/tc-i386.h,te-netbsd532.h (TARGET_FORMAT): Changed toJ.T. Conklin2-1/+6
a.out-<arch>-netbsd to match corresponding changes in BFD.
1994-10-12 * config/tc-ppc.c (ppc_fix_adjustable): Resolve symbol valuesIan Lance Taylor1-0/+9
rather than explicitly adding the frag address. * config/obj-coff.c (coff_frob_symbol): Add a zero entry to mark the end of the line numbers; this replaces the zero entry which used to be added by coff_add_linesym, removed Oct 7. (coff_adjust_section_syms): Ignore sections with no seginfo. Update the RS/6000 assembler for recent gas changes.
1994-10-12 * rs6000-core.c (rs6000coff_core_file_matches_executable_p): MakeIan Lance Taylor1-0/+3
str1 and str2 const pointers.
1994-10-12 * partial-stab.h (N_TEXT): Delete GDB_TARGET_IS_HPPA kludge; theyJeff Law2-6/+5
are no longer needed as of gcc-2.6.0.
1994-10-12 * Makefile.in (INSTALL): Use top level install.sh script.Ian Lance Taylor1-0/+10
* config/README (INSTALL): Remove. * config/delta88.mh (INSTALL): Remove. * config/i386v4.mh (INSTALL): Remove. * config/irix4.mh (INSTALL): Remove. * config/irix5.mh (INSTALL): Remove. * config/ncrt3000.mh (INSTALL): Remove.
1994-10-12shut up if only a subset was checked out in the first placeKen Raeburn1-96/+31
1994-10-12* Makefile.in (bootstrap, bootstrap2, bootstrap3): Create a "stage" symlink toKen Raeburn2-18/+18
the appropriate stage* directory, and use it instead in the -B options. (comparison): Revert yesterday's change.
1994-10-12* config/tc-sparc.c (tc_gen_reloc): For non-a.out relocations, if pc-relative,Ken Raeburn1-0/+5
use fx_offset only, ignore address of relocation.
1994-10-12Breakpoints work, run works. Fixed "monitor" command.Rob Savoye4-65/+119
1994-10-11updating to match changes made to progressive/build-all.mkKaren Christiansen1-17/+25
1994-10-11Writing to memory now works for both targets.Rob Savoye2-40/+55
1994-10-11Tue Oct 11 13:57:56 1994 Eric Youngdale (eric@andante.aib.com)Ian Lance Taylor1-0/+11
* elf32-i386.c (elf_i386_check_relocs): Make sure that a symbol with a global offset table entry or a procedure linkage table entry is added to the dynamic symbol table. * elf32-sparc.c (elf32_sparc_check_relocs): Likewise. * elf32-i386.c (elf_i386_adjust_dynamic_symbol): If a symbol has already gotten a procedure linkage table entry, change the definition to the PLT entry. * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
1994-10-11 * lynx-core.c (lynx_core_file_p): SPARC Lynx appears to startIan Lance Taylor1-0/+5
dumping the .data section in a core file at a page boundary.
1994-10-11 * lynx-nat.c (child_wait): Correct handling of byte reversed SPARCIan Lance Taylor2-6/+37
Lynx wait status. (fetch_core_registers): Don't try to fetch a register if regmap maps it to -1. * sparc-tdep.c (sparc_frame_find_saved_regs): Use FRAME_SAVED_I0 and FRAME_SAVED_L0 when setting saved_regs_addr. SPARC Lynx stores the registers in a weird order. These patches make SPARC Lynx gdb usable, though it still has problems.
1994-10-11Tue Oct 11 12:12:29 1994 Jason Merrill (jason@phydeaux.cygnus.com)Jason Merrill2-2/+10
* Makefile.in (CXXFLAGS): Use -fno-implicit-templates instead of -fexternal-templates. Because libstdc++ won't build with -fexternal-templates.
1994-10-11 * config/tc-mips.c (mips_ip): Don't use S_IS_LOCAL when checkingIan Lance Taylor1-0/+6
for an embedded PIC switch expression, since the definition of S_IS_LOCAL was changed.
1994-10-11Tue Oct 11 12:12:29 1994 Jason Merrill (jason@phydeaux.cygnus.com)Jason Merrill1-7/+7
* configure.in (target_libs): Add libstdc++. (noconfigdirs): Add libstdc++ as appropriate.
1994-10-11* Makefile.in (comparison): When comparing as.new or gasp.new, try running theKen Raeburn2-3/+23
binary through sed to avoid differences due to "stage1" or "stage2" having been written into the binary.
1994-10-11Memory_reads_inferior() and monitor_fetch_registers() now work good onRob Savoye4-26/+1062
both targets. On to the "set" functions...
1994-10-10Keep/lose arc stuff.David Edelsohn1-0/+33
1994-10-10* nlmconv.c (link_inputs): Pass -Ur flag to ld so that theJ.T. Conklin1-0/+5
ctor/dtor tables needed by C++ programs are built.
1994-10-10* cofflink.c (_bfd_coff_final_link): Cast argument to bfd_h_put_32 to correctKen Raeburn2-2/+13
type. (coff_read_string_table): Cast argument to bfd_h_get_32 to correct type. * elfcode.h (elf_link_output_extsym): Cast argument to bfd_elf_hash to correct type.
1994-10-10* elf32-sparc.c (elf_sparc_howto_table): The PC10, PC22, and WPLT30 relocationsKen Raeburn2-134/+665
are PC-relative.
1994-10-10Move COPYING.NEWLIB to cygnus_files.David Edelsohn1-2/+1
Don't want it appearing in fsf releases!
1994-10-10 * Makefile.in (srconv.o): Add dependence on sysroff.c.Jim Wilson2-2/+21
1994-10-09 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cacheJim Kingdon2-2/+30
bug involving using inferior_pid to figure out whether to select a frame.
1994-10-09 * blockframe.c (reinit_frame_cache): Reinstate select_frame callJim Kingdon1-0/+5
if inferior_pid is nonzero.
1994-10-08 * config/sparc/tm-sparc.h: Add PARAMS declarations to allPeter Schauer1-5/+11
function declarations.
1994-10-08 Speed up GDB startup time by not demangling partial symbols.Peter Schauer8-232/+314
* symfile.h (ADD_PSYMBOL_VT_TO_LIST), symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list): No longer demangle partial symbols. * symtab.c (lookup_symbol, list_symbols): Handle mangled variables, e.g. C++ static members, via the minimal symbols. Handle reordered functions in an objfile, for Irix 5.2 shared libraries. * objfiles.h (OBJF_REORDERED): New bit in the objfile flags, set if the functions in an objfile are reordered. * mdebugread.c (parse_partial_symbols): Detect reordered functions in an objfile. * symtab.c (find_pc_psymtab, find_pc_symtab): Use expensive lookup algorithm if the functions in the objfile are reordered. * xcoffexec.c (exec_close): If the current target has a copy of the exec_ops sections, reflect the freeing of the sections in current_target. * valops.c (call_function_by_hand): Use `sizeof dummy1', not `sizeof dummy', for constructing the call dummy code. * config/sparc/tm-sparc.h: Add PARAMS declarations to all function declarations. * sparc-tdep.c (sparc_pop_frame): Cast result of read_memory_integer to CORE_ADDR when passing it to PC_ADJUST. * irix5-nat.c (enable_break): Set breakpoint at the entry point of the executable, to handle the case where main resides in a shared library. * irix5-nat.c (solib_create_inferior_hook): Reset stop_soon_quietly after shared library symbol reading, to get rid of a warning from heuristic_proc_start if the startup code has no symbolic debug info. * breakpoint.h (struct breakpoint): Add new fields language and input_radix, to enable breakpoint resetting with the proper language and radix. * breakpoint.c (set_raw_breakpoint): Initialize them. (breakpoint_re_set_one): Use them when resetting the breakpoint. (breakpoint_re_set): Preserve current language and input_radix across breakpoint_re_set_one calls. * symtab.c (decode_line_1): Do not build a canonical line specification for `*expr' line specifications. * breakpoint.h (bpstat_stop_status): Fix prototype declaration.
1994-10-08elf fixesKen Raeburn1-0/+21
1994-10-08 The point of these changes is to avoid reading the frame pointerJim Kingdon26-102/+130
and stack pointer during stepping, to speed things up. A. Changes to not select a frame until we need a selected frame: * blockframe.c (flush_cached_frames): Call select_frame (NULL, -1). * infrun.c (wait_for_inferior): Move call to select_frame back to normal_stop. This reverts a change of 13 Apr 94 (it says Jeff Law, but the change was my idea); the only reason for that change was so we could save and restore the selected frame in wait_for_inferior, and now that flush_cached frames clears the selected frame, that should work OK now. B. Changes to not create a current_frame until we need one: * blockframe.c (get_current_frame): If current_frame is NULL, try to create an innermost frame. * sparc-tdep.c (sparc_pop_frame), infcmd.c (run-stack_dummy), infrun.c (wait_for_inferior), thread.c (thread_switch), convex-tdep.c (set_thread_command), a29k-tdep.c (pop_frame), alpha-tdep.c (alpha_pop_frame), convex-xdep.c (core_file_command), h8300-tdep.c (h8300_pop_frame), h8500-tdep.c (h8300_pop_frame), hppa-tdep.c (hppa_pop_frame), i386-tdep.c (i386_pop_frame), i960-tdep.c (pop_frame), m68k-tdep.c (m68k_pop_frame), mips-tdep.c (mips_pop_frame), rs6000-tdep.c (push_dummy_frame, pop_dummy_frame, pop_frame), sh-tdep.c (pop_frame), config/arm/tm-arm.h (POP_FRAME), config/convex/tm-convex.h (POP_FRAME), config/gould/tm-pn.h (POP_FRAME), config/ns32k/tm-merlin.h (POP_FRAME), config/ns32k/tm-umax.h (POP_FRAME), config/tahoe/tm-tahoe.h (POP_FRAME), config/vax/tm-vax.h (POP_FRAME): Don't call create_new_frame. * corelow.c (core_open), altos-xdep.c (core_file_command), arm-xdep.c (core_file_command), gould-xdep.c (core_file_command), m3-nat.c (select_thread), sun386-nat.c (core_file_command), umax-xdep.c (core_file_command): Don't call create_new_frame; do call flush_cached_frames. * blockframe.c (reinit_frame_cache): Don't call create_new_frame or select_frame. C. Changes to get rid of stop_frame_address and instead only fetch the frame pointer when we need it. * breakpoint.c (bpstat_stop_status): Remove argument frame_address; use FRAME_FP (get_current_frame ()). * infrun.c (wait_for_inferior): Don't pass frame pointer to bpstat_stop_status. * infrun.c (wait_for_inferior): Use FRAME_FP (get_current_frame ()) instead of stop_frame_address. * infrun.c (save_inferior_status, restore_inferior_status), inferior.h (struct inferior_status): Don't save and restore stop_frame_address. * inferior.h, infcmd.c, thread.c (thread_switch), m3-nat.c (select_thread): Remove stop_frame_address and uses thereof. D. Same thing for the stack pointer. * infrun.c (wait_for_inferior): Remove stop_sp and replace uses thereof with read_sp (). E. Change to eliminate one nasty little spot where we were wanting to know the frame pointer from before the current step (idea from GDB 3.5, which saved my ass, because my other ideas of how to fix it were very baroque). * infrun.c: Remove prev_frame_address. * infrun.c (wait_for_inferior, step_over_function): Use step_frame_address instead of prev_frame_address. F. Same basic idea for the stack pointer. * inferior.h, infcmd.c: New variable step_sp. * infcmd.c (step_1, until_next_command): Set it. * infrun.c: Remove prev_sp and replace uses by step_sp. * infrun.c (wait_for_inferior): If we get out of the step range, then set step_sp to the current stack pointer before we start going again.
1994-10-07coff aux/lineno, m88k, vms/flagseen changesKen Raeburn1-0/+30
1994-10-07* config/obj-coff.c (do_relocs_for): Test only TC_KEEP_FX_OFFSET, rather thanKen Raeburn1-26/+90
both it and TC_M88K. (coff_adjust_section_syms): New function. (coff_frob_section): For non-empty sections, create aux entry for the section symbol, indicating the size. (n_line_nos): New variable. (add_lineno): Increment it. (coff_add_linesym): Increment n_line_nos, don't call add_lineno. (coff_frob_file): New function; map coff_adjust_section_syms over sections. (obj_coff_line): Only reset line_base for .bf symbols. * config/obj-coff.h (coff_adjust_section_syms, coff_frob_file): Declare. (obj_frob_file): New macro. * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Renamed from obj_frob_forward_symbol, and rewritten for new parameter list.
1994-10-07define TC_KEEP_FX_OFFSETKen Raeburn1-0/+1
1994-10-07Mon Oct 3 21:02:38 1994 Pat Rankin (rankin@eql.caltech.edu)Ken Raeburn1-1/+1
* config/obj-vms.h (S_IS_LOCAL): fix obsolete flagseen[] reference.
1994-10-07whoopsIan Lance Taylor1-1/+1
1994-10-07 * top.c (target_byte_order_auto): New static variable.Ian Lance Taylor3-17/+84
(set_endian): Mention that ``auto'' is permitted. (set_endian_auto): New static function. (show_endian): Change message based on target_byte_order_auto. (set_endian_from_file): New function. (init_main): Add command ``auto'' to endianlist. * exec.c (exec_file_command): Call set_endian_from_file. * defs.h (set_endian_from_file): Declare.
1994-10-07* nlm/i386.c (flush_i_cache): New function, does nothing.J.T. Conklin2-5/+61
(frame_to_registers, registers_to_frame, set_step_traps, clear_step_traps, do_status): Make non-static.
1994-10-07 * config.guess: Update from FSF.Per Bothner1-2/+2
1994-10-06 * defs.h: If TARGET_BYTE_ORDER_SELECTABLE is defined by tm.h,Ian Lance Taylor6-71/+154
define TARGET_BYTE_ORDER as target_byte_order, and declare target_byte_order as an extern int, and define BITS_BIG_ENDIAN as a test of TARGET_BYTE_ORDER. * top.c: Several additions if TARGET_BYTE_ORDER_SELECTABLE is defined: (endianlist, target_byte_order): New variables. (set_endian, set_endian_big, set_endian_little): New functions. (show_endian): New function. (init_cmd_lists): Initialize endianlist. (init_main): Add commands ``set endian big'', ``set endian little'', and ``show endian''. * a29k-pinsn.c: Rewrite uses of TARGET_BYTE_ORDER and BITS_BIG_ENDIAN to switch at run time rather than at compile time. * coffread.c, dwarfread.c, findvar.c, mips-tdep.c: Likewise. * remote-os9k.c, stabsread.c, valarith.c, valprint.c: Likewise. * values.c: Likewise. * mips-tdep.c: Rewrite uses of GDB_TARGET_IS_MIPS64 to switch at run time rather than at compile time.
1994-10-06 * config/mips/tm-mips.h (GDB_TARGET_IS_MIPS64): If not alreadyIan Lance Taylor7-52/+59
defined, define as 0. (FIX_CALL_DUMMY): Rewrite to remove presumption that host and target are similar. * config/mips/tm-idt.h (TARGET_BYTE_ORDER_SELECTABLE): Define. * config/mips/tm-idtl.h (TARGET_BYTE_ORDER_SELECTABLE): Define. * config/mips/tm-idt64.h (TARGET_BYTE_ORDER_SELECTABLE): Define. (BREAKPOINT): Remove definition. * config/mips/tm-idtl64.h (TARGET_BYTE_ORDER_SELECTABLE): Define. (BREAKPOINT): Remove definition. * config/mips/tm-mips64.h (GDB_TARGET_IS_MIPS64): Define with a value of 1, rather than without a value. * config/mips/tm-bigmips64.h (GDB_TARGET_IS_MIPS64): Likewise.
1994-10-06 * remote-mips.c (break_insn): Remove.Ian Lance Taylor1-10/+4
(BREAK_INSN, BREAK_INSN_SIZE): Define. (mips_insert_breakpoint): Use BREAK_INSN, not break_insn. (mips_remove_breakpoint): Likewise.
1994-10-06Both targets initialize, can dump registers too.Rob Savoye2-31/+116
1994-10-05 * Makefile.in (all-prms): Depend on all-librx.Brendan Kehoe2-1/+5
1994-10-05* nlm/configure.in: ${gdb_host_cpu} defaults to ${host_cpu}.J.T. Conklin2-1/+3
1994-10-05yet another typoJ.T. Conklin1-1/+1
1994-10-05* nlm/Makefile.in: Get rid of NWINCLUDES.J.T. Conklin3-5/+1
* config/{alpha,powerpc}/gdbserve.mt: Remove NWINCLUDES. User should now configure with --with-headers.
1994-10-05 * archive.c (bfd_construct_extended_name_table): SVR4 uses slashIan Lance Taylor1-0/+5
newline at the end of the file name, not just newline.