aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-04-26 * i386-nlmstub.c: More changes to be compatible with remote.c.Stu Grossman2-10/+21
1994-04-26 * i386-nlmstub.c: An interim version till we get PIN for the x86.Stu Grossman2-22/+73
1994-04-26 * dbxread.c (record_minimal_symbol): Record the sectionStu Grossman5-28/+205
associated with the symbol to make dynmaic relocation work. * (dbx_symfile_read, process_one_symbol): Fixes to work around Solaris brain-damage which don't apply to relocatable object files. * (stabsect_build_psymtabs): New routine to read stabs out of an arbitrarily named section. * nlmread.c (nlm_symtab_read): Read ALL syms from the NLM, not just globals. * (nlm_symfile_read): Call stabsect_build_psymtabs to read the stabs out of the nlm. * partial-stabs.h (cases 'f' & 'F'): Fixes to work around Solaris brain-damage which don't apply to relocatable object files. * remote.c (putpkt): Improve error reporting and error handling. * stabsread.c (define_symbol, scan_file_globals): Record section info in sym.
1994-04-24 * breakpoint.c (breakpoint_1): Annotate each field of output. AddJim Kingdon1-0/+5
FIXME-32x64 comment.
1994-04-23 * infrun.c (wait_for_inferior): Move call to flush_cached_framesJim Kingdon1-0/+6
to after call to target_wait. This means that flush_cached_frames can call target_terminal_ours if it wants to. * infrun.c (wait_for_inferior) [HAVE_NONSTEPPABLE_WATCHPOINT]: Add comment about why the code is dubious.
1994-04-22 * stabsread.c (read_type): Call read_type, not nonexistentJim Kingdon2-1/+6
os9k_read_type.
1994-04-22Modified Files:Kung Hsu4-27/+71
ChangeLog remote-os9k.c os9kread.c stabsread.c * remote-os9k.c (rombug_fetch_registers): set trace mode correctly. * remote-os9k.c (rombug_read_inferior_memory): cache data in buffer. * os9kread,c (read_os9k_psymtab): process file symbol to truncate extra info. * os9kread.c (os9k_read_ofile_symtab): proper casting of args passed to process_one_symbol. * stabsread.c (read_type): process os9k functio prototype.
1994-04-22 * solib.c (symbol_add_stub): If so->textsection is NULL, don'tJim Kingdon1-0/+5
dump core.
1994-04-22 * utils.c (prompt_for_continue): Annotate prompt.Jim Kingdon2-8/+21
(query): Annotate query. * printcmd.c (print_frame_args): Change syntax of argument annotation to make name and value part of a single group of annotations, not two separate groups. * cp-valprint.c (cp_print_value_fields): Likewise for fields. * valprint.c (val_print_array_elements): Change syntax of annotation to be more concise. * main.c, defs.h (command_line_input): New argument tells what string to include in the annotations. * symtab.c (decode_line_2), main.c (read_command_lines, command_loop): Change callers.
1994-04-21* printcmd.c (print_command_1): Add value-history-value annotation.Jim Kingdon1-0/+1
1994-04-21 * Makefile.in (clean): Don't remove GDBvn.texi (apparently on JanJim Kingdon2-1/+6
16 I meant to make this change but did not). Do remove gdb-cfg.texi.
1994-04-21 * breakpoint.c (watch_command): Use (CORE_ADDR)0, not NULL, forJim Kingdon5-8/+27
target null pointer. * blockframe.c (find_frame_addr_in_frame_chain): Likewise. * printcmd.c (output_command): Annotate things we print here too. * Move declaration of print_value_flags from defs.h to value.h. * main.c (command_line_input): Call wrap_here as well as gdb_flush.
1994-04-21 * gdb.t00/default.exp (set write): Allow any number of \r and/orJim Kingdon1-0/+8
\n, not just one of each. * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4 /bin/cc gives a warning if you do.
1994-04-21Modified Files:Kung Hsu1-0/+5
ChangeLog * gdb.t24/demangle.exp: change expect pattern of __t10ListS_link1ZUiRCUiPT0
1994-04-21 * dbxread.c (read_dbx_dynamic_symtab): Reinstall support for sun3,Peter Schauer3-30/+82
BFD handles sun3 dynamic relocations now. * elfread.c (elf_symtab_read, elf_symfile_read): Handle dynamic symbol table.
1994-04-21 * printcmd.c (print_command_1): Annotate the top-level expressionsJim Kingdon5-1/+88
that we print. (print_frame_args): Annotate each argument. * printcmd.c, defs.h (print_value_flags): New function. * cp-valprint.c (cp_print_value_fields): Annotate each field. * valprint.c (val_print_array_elements): Annotate each array element.
1994-04-20 * findvar.c (read_var_value): Handle LOC_REPARM_ADDR case correctly,Peter Schauer1-0/+5
the register contains a pointer to the type, not the type itself.
1994-04-20 * main.c (main): Accept --annotate=N option and make --fullnameJim Kingdon5-13/+101
the same as --annotate=1. (command_line_input): Print annotatation before and after prompt. * blockframe.c (flush_cached_frames): Print annotation. * Rename frame_file_full_name to annotation_level and move it from symtab.h to defs.h. * source.c (identify_source_line): If annotation_level > 1, change output format. * breakpoint.c: Print annotation whenever a breakpoint changes. * main.c: New variable server_command. (command_line_input): Parse "server " and set server_command. (dont_repeat): Check server_command.
1994-04-20 * stabs.texinfo (Stab Section Basics): Say what is in .stabJim Kingdon2-3/+14
section, and say n_strx field is compilation unit relative. * stabs.texinfo: Don't use @code for a.out when it is the name of an object file format.
1994-04-20 * xcoffread.c (xcoff_next_symbol_text): Don't return beforeJim Kingdon2-5/+25
updating raw_symbol and symnum. Return a value in the case where we complained.
1994-04-20 * parse.c: Don't define block_found; it is defined in symtab.c.Jim Kingdon3-2/+5
* parser-defs.h: Add comment regarding block_found.
1994-04-20 * dstread.c, coffread.c: Don't define pending_blocks; buildsym.cJim Kingdon2-2/+5
takes care of it.
1994-04-20Add missing #endif.Jeff Law1-0/+1
1994-04-19 * hppa-tdep.c (internalize_unwind_info): Delete unused indexpJeff Law2-3/+7
argument.
1994-04-18 * dbxread.c (read_dbx_dynamic_symtab): Relocate BFD symbols byPeter Schauer2-1/+19
section vma. Do not read dynamic relocs for sun3 executables to avoid BFD assertion message.
1994-04-18 * nm-hppab.h (KERNEL_U_ADDR): Define.Jeff Law4-20/+46
(FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. * nm-hppah.h (KERNEL_U_ADDR): Define. (FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. (NEED_TEXT_START_END): Likewise. * tm-hppah.h (NEED_TEXT_START_END): Delete definition. * xm-hppah.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * xm-hppab.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * hppa-tdep.c (read_unwind_info): Make static. (restore_pc_queue): Indirect through the target vector to reload the register state.
1994-04-18Fix typo.Jeff Law1-1/+1
1994-04-18 * nm-hppab.h (KERNEL_U_ADDR): Define.Jeff Law2-2/+22
(FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. nm-hppah.h (KERNEL_U_ADDR): Define. (FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. (NEED_TEXT_START_END): Likewise. * tm-hppah.h (NEED_TEXT_START_END): Delete definition. * xm-hppah.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * xm-hppab.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * hppa-tdep.c (read_unwind_info): Make static. (restore_pc_queue): Indirect through the target vector to reload the register state.
1994-04-17 * paread.c (compare_unwind_entries): Delete function. It's beenJeff Law3-177/+217
moved into hppa-tdep.c. (read_unwind_info): Likewise. (pa_symfile_read): No longer call read_unwind_info. The unwind tables will be read in as they are needed. * hppa-tdep.c (compare_unwind_entries): New function. (read_unwind_info, internalize_unwinds): Likewise. (find_unwind_entry): Read in unwind information on demand.
1994-04-15Fri Apr 15 11:53:46 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs7-45/+69
* source.c (DIRNAME_SEPARATOR): New macro, replaces all references to : in search path processing. * defs.h (qsort): Rename argument in prototype. * symtab.h (SAYMBOL_VALUE): Rename value field, avoids bugs in some compilers. * breakpoint.c, exec.c, mdebugread.c, mipsread.c, xcoffexec.c (false): Eliminate usages.
1994-04-15 * h8500-tdep.c (initialize_h8500_tdep, large_command):Steve Chamberlain4-7/+22
All references to value changed to value_ptrlage_command is now called big_command. All references to value changed to value_ptr. * remote-z8k.c (e7000_wait): Use target_waitstatus and SETSTOP * remote-hms.c (hms_wait): Timeout after five seconds. * ser-go32.c (dosasync_read): Poll if timeout < 0. * config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted. * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode.
1994-04-15 * config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted.Steve Chamberlain1-5/+0
1994-04-15 * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode.Steve Chamberlain1-2/+3
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(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-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-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-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 Cox2-37/+107
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 * 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-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-08 * lynx-nat.c: Restore regmap structure for SPARC. It's neededStu Grossman2-2/+80
for core files.