aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-04-14 * mips.h (RELOC_BITS3_TYPE_BIG): Changed from 0x1e to 0x3e.Ian Lance Taylor1-0/+10
(RELOC_BITS3_TYPEHI_LITTLE): Define. (RELOC_BITS3_TYPEHI_SH_LITTLE): Define. (MIPS_R_PCREL16): Change value from 8 to 12 to match Irix 4. (MIPS_R_RELHI): Define. (MIPS_R_RELLO): Define. (MIPS_R_SWITCH): Change value from 9 to 22.
1994-04-14 * procfs.c (procfs_wait): Protect watchpoint code with appropriateJeff Law2-1/+13
#ifdefs. (procfs_set_watchpoint, procfs_stopped_by_watchpoint): Likewise.
1994-04-14 * procfs.c (procfs_wait): Protect watchpoint code with appropriateJeff Law2-0/+11
#ifdefs.
1994-04-14 * rltty.c (set_tty_settings): Don't set readline_echoing_p.Jim Kingdon1-0/+5
(rl_deprep_terminal) [NEW_TTY_DRIVER]: Set readline_echoing_p.
1994-04-14There is no interesting Irix 5, or PowerPC, or RS/6000 support in theIan Lance Taylor1-4/+0
linker, so don't mention them.
1994-04-14(Arguments): Fix typo.Jim Kingdon2-2/+3
1994-04-14 * gdb.texinfo: Refer to file names, not path names, per rmsJim Kingdon2-7/+12
convention.
1994-04-14 * config/mips/nm-irix4.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.Jeff Law2-0/+20
(STOPPED_BY_WATCHPOINT, HAVE_NONSTEPPABLE_WATCHPOINT): Likewise. (target_{insert,remove}_watchpoint): Likewise.
1994-04-13Make tests work again on alpha-osf1 and sun4 native.Ken Raeburn1-1/+1
* config/unix.exp: Use nm.new, not nm, from newly built tree. * binutils.all/objdump.exp: Add more wildcards to list of single-letter options in pattern for usage message. * binutils.all/nm.exp: Deleted debug-symbols test, since it only works for a.out/stabs systems. Fixed regexps to make underscores optional, since some C compilers don't prepend them. Deleted check for foo.o symbol, since again some systems don't generate it.
1994-04-13 * configure: Make file links cleanly even if Lynx fails onBill Cox1-0/+10
an NFS symlink (at least fail cleanly).
1994-04-13 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpointsJeff Law1-0/+7
on local variables in recursive functions. * gdb.t07/Makefile.in: Build the new test.
1994-04-13 * config/pa/nm-hppab.h (STOPPED_BY_WATCHPOINT): Define.Jeff Law1-0/+68
(HAVE_STEPPABLE_WATCHPOINT): Define. (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define. (target_{insert,delete}_watchpoint): Define.
1994-04-13 * breakpoint.h (enum bptype): Add bp_hardware_watchpoint andJeff Law8-153/+584
bp_watchpoint_scope breakpoints. (struct breakpoint): Add val_chain and related_breakpoint fields for use by watchpoints. * breakpoint.c (within_scope): Delete. No longer used. (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Provide default definition. (target_{remove,insert}_watchpoint): Likewise. (can_use_hardware_watchpoint): New function. (remove_breakpoint): New function to remove a single breakpoint or hardware watchpoint. (insert_breakpoints): Handle insertion of hardware watchpoints. Store a copy of the value chain derived from the watchpoint expression. (remove_breakpoints): Simplify by using remove_breakpoint. (delete_breakpoint): Likewise. (watchpoint_check): Delete the watchpoint and watchpoint scope breakpoints when the watchpoint goes out of scope. Save & restore the current frame after checking watchpoints. (breakpoint_init_inferior): Likewise (restarting the program makes all local watchpoints go out of scope). (bpstat_stop_status): Handle hardware watchpoints much like normal watchpoints. Delete the watchpoint and watchpoint scope breakpoint when the watchpoint goes out of scope. Remove and reinsert all breakpoints before returning if we stopped when a hardware watchpoint fired. (watch_command): Use a hardware watchpoint when possible. If watching a local expression, build a scope breakpoint too. (map_breakpoint_numbers): Also call given function for any related breakpoints. (disable_breakpoint): Never disable a scope breakpoint. (enable_breakpoint): Handle hardware breakpoints much like normal breakpoints, but recompute the watchpoint_scope breakpoint's frame and address (if we have an associated scope breakpoint). (read_memory_nobpt): Handle hardware watchpoints like normal watchpoints. When necessary handle watchpoint_scope breakpoints. (print_it_normal, bpstat_what, breakpoint_1, mention): Likewise. (clear_command, breakpoint_re_set_one, enable_command): Likewise. (disable_command): Likewise. * blockframe.c (find_frame_addr_in_frame_chain): New function. Extern prototype added to frame.h * infrun.c (wait_for_inferior): Set current_frame and select a frame before checking if we stopped due to a hardare watchpoint firing. Handle stepping over hardware watchpoints. (normal_stop): Remove unnecessary call to select_frame. * value.h (value_release_to_mark): Declare. * values.c (value_release_to_mark): New function. * procfs.c (procfs_wait): Add cases for hardware watchpoints. (procfs_set_watchpoint, procfs_stopped_by_watchpoint): New functions. * hppab-nat.c (hppa_set_watchpoint): New function. * config/pa/nm-hppab.h (STOPPED_BY_WATCHPOINT): Define. (HAVE_STEPPABLE_WATCHPOINT): Define. (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define. (target_{insert,delete}_watchpoint): Define.
1994-04-13 * objdump.c: Do an ifdef on __GO32__, not unix.Ian Lance Taylor2-3/+7
1994-04-13Fix typo.Jeff Law1-1/+1
1994-04-13 * gdb.t15/gdbme.c (t_func_values): Do not compare function pointersJeff Law1-0/+5
directly. Instead compare the return values from actual calls.
1994-04-13Tue Apr 12 18:25:13 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-18/+36
* subsegs.c (subsegs_begin): Call memset with args in the correct order. (subseg_get): Clear newly allocated seginfo, set its pointer slots to NULL instead of 0. Fixes a problem observed in sparc-lynx progressive.
1994-04-12 * som.c (som_write_fixups): Always emit at leastJeff Law2-3/+8
one relocation for any non-bss section.
1994-04-12 * mh-irix4 (CC): Change -XNh1500 to -XNh2000.Ian Lance Taylor1-1/+1
1994-04-12Mon Apr 11 19:21:27 1994 Stu Grossman (grossman at cygnus.com)Stu Grossman2-1/+8
* xcoffread.c (read_xcoff_symtab): Ignore symbols of class C_EXT, smtyp XTY_LD, sclass XMC_DS (external data segment label). They often have the same names as debug symbols for functions, and confuse lookup_symbol().
1994-04-11 * Makefile.in (check): Set TCL_LIBRARY for runtest.Bill Cox8-43/+219
1994-04-11 * elfcode.h (assign_file_positions_except_relocs): Don't requireIan Lance Taylor2-0/+7
the file alignment to correspond to the page size when linking with -N.
1994-04-11 * test-build.mk (CC): For mips-sgi-irix4, change -XNh1500 toJim Wilson1-5/+31
-XNh2000.
1994-04-11 * remote.c: Around redefinition of PBUFSIZE, adjust whitespace.Jim Kingdon2-1/+12
* config/pa/tm-hppa.h (REGISTER_BYTES): Use 4 rather than REGISTER_RAW_SIZE (1). Together these changes work around a bug in HP's compiler. Both seem to be necessary.
1994-04-11 * scripttempl/i386coff.sc: If relocating, don't put .init andIan Lance Taylor2-2/+10
.fini sections into .text; keep them separate. * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not exist, get crtbegin based on gcc -print-libgcc-file-name. (HOSTING_LIBS): Similar change for ../gcc/crtend.o.
1994-04-11 * paread.c (pa_symtab_read): Handle ST_STUB symbols and symbolsJeff Law2-3/+67
with scope SS_EXTERNAL. ST_ENTRY symbols in dynamic executables are type mst_solib_trampoline.
1994-04-11 * From Peter Schauer with minor modifications.Jeff Law1-0/+7
* gdb.t15/return.exp (return_tests): Handle targets where "return" stops in mid-line in the caller. Add xfail for returning a float value on X86 targets.
1994-04-11 * config/tc-hppa.c (pa_procend): Handle case where label wasJeff Law2-2/+40
defined after the .proc directive.
1994-04-11 * gas/hppa/more.parse/callinfobug.s: Add missing name for procedure.Jeff Law1-0/+3
1994-04-11 * gas/hppa/more.parse/callinfobug.s: Add missing name for procedure.Jeff Law1-0/+1
1994-04-11 * config/tc-hppa.c (pa_procend): Give an error if we encounter aJeff Law2-0/+8
procend for a procedure without a name.
1994-04-11 * gas/hppa/reloc/funcrelobug.s: Place the trampoline in theJeff Law1-0/+5
$DATA$ rather than the $LIT$ subspace.
1994-04-10 * elfcode.h (write_relocs): For rela relocations, adjust theJeff Law2-0/+18
addend for relocations involving section symbols to account for the lossage of 1:1 mapping from input section symbols to output section symbols.
1994-04-09 * configure: Unknown options are fatal again.David MacKenzie1-0/+4
1994-04-09Fri Apr 8 17:14:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)Jim Kingdon2-5/+15
* config/m68k/es1800.mt: Change comments. Fri Apr 8 17:14:37 1994 Rob Savoye (rob@darkstar.cygnus.com) * config/m68k/monitor.mt (TDEPFILES): Don't include remote-es.o.
1994-04-08update platform targetsKaren Christiansen1-9/+8
1994-04-08 * lynx-nat.c: Restore regmap structure for SPARC. It's neededStu Grossman2-2/+80
for core files.
1994-04-08 * values.c (unpack_long): Remove obsolete comment about using aJim Kingdon2-3/+3
switch statement.
1994-04-08* symfile.c (symbol_file_command): Add comments about command syntax.Jim Kingdon1-0/+4
1994-04-08 * aoutx.h (NAME(aout,make_sections)): New function.Ian Lance Taylor2-31/+44
(NAME(aout,some_aout_object_p)): Call NAME(aout,make_sections) rather than making sections inline. (NAME(aout,mkobject)): Don't make any sections. (NAME(aout,adjust_sizes_and_vmas)): Call NAME(aout,make_sections). (NAME(aout,final_link)): Don't dereference obj_textsec (abfd) or obj_datasec (abfd) if they are NULL. * libaout.h (NAME(aout,make_sections)): Declare. * bout.c (b_out_mkobject): Don't make any sections. (b_out_write_object_contents): Call aout_32_make_sections. (b_out_set_section_contents): Likewise. * i386os9k.c (os9k_mkobject): Don't make any sections. (os9k_write_object_contents): Call aout_32_make_sections. (os9k_set_section_contents): Likewise.
1994-04-08 * configure: Ignore --x-includes and --x-libraries, for AutoconfDavid MacKenzie2-1/+8
compatibility.
1994-04-08 * aoutx.h (NAME(aout,new_section_hook)): Don't set N_EXT in targetIan Lance Taylor2-3/+8
index.
1994-04-08 * config/mips/mipsv4.mh, config/mips/mipsv4.mt,Peter Schauer5-0/+76
config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c: New files for MIPS SVR4 support.
1994-04-08 * config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS): Define,Peter Schauer1-0/+4
OSF/1 has shared libraries.
1994-04-08 * config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE):Peter Schauer2-3/+20
Define to handle stepping into -g compiled shared libraries. * config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE): Define to handle stepping into -g compiled shared libraries.
1994-04-08 * infrun.c (IN_SOLIB_TRAMPOLINE): Correct comment, trampolinesPeter Schauer14-226/+773
are in the .plt section. * minsyms.c (lookup_solib_trampoline_symbol_by_pc, find_solib_trampoline_target): New functions for handling stepping into -g compiled shared libraries. * symtab.h (lookup_solib_trampoline_symbol_by_pc, find_solib_trampoline_target): Add prototypes. * config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): Define to handle stepping into -g compiled shared libraries. * config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE): Define to handle stepping into -g compiled shared libraries. * configure.in: Add mips-*-sysv4* support. * config/mips/mipsv4.mh, config/mips/mipsv4.mt, config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c: New files for MIPS SVR4 support. * Makefile.in: Update for new mipsv4 files. * alpha-tdep.c (heuristic_proc_desc, find_proc_desc): Use read_next_frame_reg to obtain the frame relative stack pointer. * mips-tdep.c (heuristic_proc_desc): Use read_next_frame_reg to obtain the frame relative stack pointer. * mdebugread.c (parse_partial_symbols, psymtab_to_symtab1): Handle stStatic and stStaticProc symbols in stabs-in-ecoff output by entering them into the minimal symbol table. * printcmd.c (print_scalar_formatted): Do not try to unpack to a long for float formats. * solib.c: Include "elf/mips.h" only if DT_MIPS_RLD_MAP does not get defined in <link.h>. * solib.c (solib_add): Add shared library sections to the section table of the target before adding the symbols. * partial-stab.h: Relocate static and global functions. * dbxread.c (read_dbx_symtab): Remove unused variable end_of_text_address. Relocate text_addr when passing it to end_psymtab. For Alpha OSF/1 targets, enable gdb to set breakpoints in shared library functions before the executable is run. Retrieve dynamic symbols from stripped executables. * mipsread.c (read_alphacoff_dynamic_symtab): New function. * mipsread.c (mipscoff_symfile_read): Use it. Issue warning message if no debugging symbols were found. * alpha-tdep.c (alpha_skip_prologue): Silently return the unaltered pc if memory at the pc is not accessible and GDB_TARGET_HAS_SHARED_LIBS is defined. * config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS): Define, OSF/1 has shared libraries.
1994-04-08Add clean target.David Edelsohn2-0/+9
1994-04-08 * config.bfd, configure.host: Add mips-*-sysv4* support.Peter Schauer1-0/+4
1994-04-08 * config.guess: Add SINIX support.Peter Schauer2-0/+6
* configure.in: Add mips-*-sysv4* support.
1994-04-07note deleted .mt filesKen Raeburn1-4/+0