aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-04-28new, emacs gdb mode with annotation stuffJim Kingdon2-0/+1798
1994-04-28* annotate.texi: New file, to document annotations.Jim Kingdon3-0/+367
1994-04-28(prompt_for_continue): Likewise for prompt-for-continue annotation.Jim Kingdon2-0/+8
1994-04-28 * utils.c (query): Change syntax of query annotations to beJim Kingdon2-5/+42
consistent with other input annotations.
1994-04-28new, to document annotationsJim Kingdon1-0/+0
1994-04-28 * mdebugread.c (psymtab_to_symtab_1): Do not call sort_blocksPeter Schauer2-2/+13
for stabs symtabs. * mips-tdep.c (mips_skip_prologue): Handle prologues for functions that have a stack frame size of 32k or larger (from Paul Flinders). Remove #if 0'd code.
1994-04-27Wed Apr 27 16:33:51 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-0/+11
* lynx-nat.c (CANNOT_STORE_REGISTER): Add a fallback definition for Lynx platforms that need it. * config/nm-lynx.h (__LYNXOS): Define if not already defined.
1994-04-27 * procfs.c (procfs_wait): Use the signal from the pr_info ratherJim Kingdon2-20/+10
than trying to deduce it from the fault.
1994-04-27 * printcmd.c (print_address_symbolic): Initialize name to emptySteve Chamberlain2-4/+11
string to avoid core dump if lookup fails. * remote-e7000.c (printf_e7000debug): Error if target not open.
1994-04-27 * nlm/gdbserve.c (putDebugChar): Install bug fix from i386-nlmstub.Stu Grossman1-14/+15
* (hex2mem): Init ptr. * General cleanups to use ConsolePrintf, standard prologues, etc...
1994-04-27 * i386-nlmstub.c: Update to be more in line with PIN stub.Stu Grossman2-163/+181
* nlm/gdbserve.c (putDebugChar): Install bug fix from i386-nlmstub. * (hex2mem): Init ptr. * General cleanups to use ConsolePrintf, standard prologues, etc...
1994-04-27 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.Jeff Law1-0/+6
* gdb.t17/gdbme.c (t_func_values): Add comments about how and why the code has been restructured.
1994-04-27[Sharp eyes, Jim...]Stu Grossman2-3/+46
* remote.c: * (get_offsets): Temporary kludge to force data & bss sections to have the same relocation.
1994-04-27Remove new Mac files.Stan Shebs1-1/+1
1994-04-27Tue Apr 26 17:44:27 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs6-5/+864
* mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb. (XDEPFILES): Define. (main.c.o): Compile with gC instead of C. * mac-defs.h: New file, menu etc definitions shared between C and Rez files. * macgdb.r: New file, Rez (resource compiler) resource definitions. * mac-xdep.c: New file, Mac host interface code. * config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to DIRNAME_SEPARATOR. (PATHNAME_SEPARATOR_STRING): Remove. (SIGQUIT, SIGHUP): Define. (fileno, R_OK): Define.
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.