aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-11-03 * corelow.c, exec.c, inftarg.c, m3-nat.c, op50-rom.c, procfs.c,Stu Grossman17-20/+89
remote-adapt.c, remote-e7000.c, remote-eb.c, remote-es.c, remote-hms.c, remote-mips.c, remote-mm.c, remote-mon.c, remote-nindy.c, remote-os9k.c, remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c, remote-vx.c, remote-z8k.c, remote.c, w89k-rom.c, target.c, target.h: Add support for target_stop(). * gdbtk.c (gdb_stop): Switch to target_stop(). * ChangeLog: Fix comment to make shebs happy...
1994-11-03 * osfsolib.c (solib_map_sections, first_link_map_member,Peter Schauer2-22/+160
next_link_map_member, xfer_link_map_member): Retrieve and use shared library relocation offset from runtime loader structures. Use libxproc.a routines to get a working version if USE_LDR_ROUTINES is defined. * README: Remove item about shared library relocation for Alpha OSF/1.
1994-11-02 * c-exp.y (yylex): scan template names, and scan nested classKung Hsu2-8/+22
names.
1994-11-02* nlm/Makefile.in: install gdbserve.nlm.J.T. Conklin2-4/+6
1994-11-02 * Makefile.in: Use $(objdir)/tcl and $(objdir)/tk if they areStu Grossman5-21/+35
available. * configure.in (ENABLE_CLIBS): Use $(TCL) and $(TK) instead of -ltcl and -ltk. * gdbtk.c: Get rid of lots of unnecessary #includes. * (gdbtk_init): Use ConnectionNumber macro instead of referencing Display structure directly. * gdbtk.tcl: Change exit button to quit button (makes shebs happy).
1994-11-01 * c-valprint.c (c_value_print): Check for plain literal `char'Peter Schauer2-3/+8
target type when suppressing `(char *)' output for strings.
1994-11-01 * coffread.c (coff_symfile_init): Remove unused local abfd.Stan Shebs1-0/+6
* utils.c [NO_MMALLOC] (mmalloc, mrealloc): Define and use size_t instead of long, for compatibility with mmalloc.h.
1994-10-29 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtracePeter Schauer2-1/+5
through signal handler.
1994-10-29 * config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO):Peter Schauer1-29/+31
Don't test for zero backchain pointer to recognize a signal handler frame, if read() gets interrupted by a signal, the backchain will be non zero. (SIG_FRAME_FP_OFFSET): Move to here from rs6000-tdep.c, improve comment. (SIG_FRAME_PC_OFFSET): New definition. (FRAME_SAVED_PC): Return saved pc from sigcontext if this is a signal handler frame. * rs6000-tdep.c (function_frame_info): Do not error out if we can't access the instructions. * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): New definition to get the function address from a function pointer. * valops.c (find_function_addr): Use it when calling a user function through a function pointer.
1994-10-29 * top.c (line_completion_function): Renamed fromPeter Schauer6-85/+592
symbol_completion_function, takes the line buffer and the point in the line buffer as additional arguments. (readline_line_completion_function): New function, interface between readline and line_completion_function. (init_main): Use it. (complete_command): Use line_completion_function instead of abusing rl_line_buffer. Free completion strings after printing them. * symtab.c (completion_list_add_name): Recheck for duplicates if we intend to add a modified symbol. * gdbtypes.h (cplus_struct_type): nfn_fields_total no longer includes the number of methods from the baseclasses. * stabsread.c (attach_fn_fields_to_type): No longer add the number of methods from the baseclasses to TYPE_NFN_FIELDS_TOTAL, the baseclass type might not have been completely filled in yet. * symtab.c (total_number_of_methods): New function to compute the total number of methods for a type, including the methods from baseclasses. (decode_line_1): Use it instead of TYPE_NFN_FIELDS_TOTAL to allocate the symbol array for find_methods. * stabsread.c (scan_file_globals): Add default case to minimal symbol type switch, to avoid gcc -Wall warnings. * config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): Don't test for zero backchain pointer to recognize a signal handler frame, if read() gets interrupted by a signal, the backchain will be non zero. (SIG_FRAME_FP_OFFSET): Move to here from rs6000-tdep.c, improve comment. (SIG_FRAME_PC_OFFSET): New definition. (FRAME_SAVED_PC): Return saved pc from sigcontext if this is a signal handler frame. * rs6000-tdep.c (function_frame_info): Do not error out if we can't access the instructions. * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): New definition to get the function address from a function pointer. * valops.c (find_function_addr): Use it when calling a user function through a function pointer.
1994-10-29 * Makefile.in (MMALLOC_DIR): New definition.Stan Shebs2-6/+18
(MMALLOC): Use MMALLOC_DIR. (MMALLOC_CFLAGS): Look in MMALLOC_DIR for mmalloc.h. (OPCODES): Remove gratuitous "./". * defs.h (mmalloc.h): Include. (mmalloc, mrealloc, etc): Remove decls. (cplus_demangle, cplus_demangle_opname): Remove decls.
1994-10-28Really forget all about the old tests dirStan Shebs1-3/+0
1994-10-26 * defs.h, gdbtk.c, main.c, top.c: Change sense and name ofStu Grossman4-7/+13
no_windows variable. Now called use_windows, and defaults to off (for compatibility).
1994-10-26 * coffread.c (coff_symtab_read): If we get the address fromJim Kingdon2-20/+47
target_lookup_symbol, set the section to -2 not SECT_OFF_BSS. (coff_symtab_read): Set value and section of symbol that process_coff_symbol returns.
1994-10-25* config/i386/tm-nbsd.h: Enable longjmp support.J.T. Conklin2-1/+18
1994-10-22 * valarith.c (value_binop): Take care of ANSI `value preserving'Peter Schauer3-6/+12
rule, which was not addressed by the previous change. * rs6000-tdep.c (skip_prologue): Handle `mr r31,r1', which is generated by gcc-2.6, as a synonym for `oril r31,r1,0'. * TODO: Remove item about RS/6000 shared libraries.
1994-10-21* configure.in (*-*-netware): Use config/mt-netware.J.T. Conklin5-5/+17
* config/mt-netware: New file. * config/mt-i386-netware: Removed, separate configs for different netware architectures are no longer needed now that we have --with-headers.
1994-10-21 * defs.h, infrun.c (wait_for_inferior), top.c: CallStu Grossman6-54/+366
target_wait_hook to allow GUI to handle blocking for inferior. Call call_command_hook in execute_command to provide means for wrapping commands with GUI state change updates. * gdbtk.c (gdb_cmd): Force GUI into idle mode when errors occur. * (gdb_stop): New tcl command to stop the target process. * (x_event, gdbtk_wait): Allow GUI to interrupt gdb out of target waits. * (gdbtk_call_command): Wrapper around command processing to alert GUI of target state changes. * (gdbtk_init): Get the fd of X server for doing async notification of X events (via x_event). Setup new hooks. * gdbtk.tcl: Add scrollbars to assembly and command windows. * Change window foreground & background colors. * Create margin tag for breakpoints in source and assembly windows. * Add new routines to be invoked when target state changes to/from idle. * Add start of expression window. * Change bindings of mouse button 1 in assembly and source window to just set or clear breakpoints when in the margin tag. * Change shape of register window to be more vertical to better reflect it's contents. * Add stop button. * Cleanup some code around command window bindings. * infrun.c (wait_for_inferior): Make sure through_sigtramp_breakpoint is non-null before deleting.
1994-10-20* config/powerpc/ppc-nw.mt (TDEPFILES): Removed exec.o.J.T. Conklin2-2/+5
1994-10-20 * Makefile.in (coffread.o): Depend on target.h.Jim Kingdon2-2/+7
(remote-vx.o): Depend on gdb-stabs.h objfiles.h symfile.h $(bfd_h).
1994-10-20* TODO: Fix typo.Jim Kingdon2-1/+5
1994-10-20 * objfiles.c (objfile_relocate): When relocating ->sections, useJim Kingdon6-7/+95
objfile not symfile_objfile. * symtab.h, minsyms.c (minsyms_sort): New function. * objfiles.c (objfile_relocate): Call it. * remote-vx.c (vx_add_symbols): Call breakpoint_re_set. * objfiles.c, objfiles.h (objfile_to_front): New function. * remote-vx.c (vx_add_symbols): Call it. * coffread.c (coff_symtab_read): Handle common symbols the same way that partial-stab.h does.
1994-10-20 * hppa-tdep.c: Remove include files a.out.h, ioctl.h, andRob Savoye1-3/+0
machine/psl.h. These are host files.
1994-10-19 * objfiles.h (struct objfile): Fix comment--minimal_symbol_countJim Kingdon2-1/+6
does *not* include the terminating NULL msymbol.
1994-10-19removed i386-nlmstub.cJ.T. Conklin1-1/+0
1994-10-19 * monitor.c (monitor_load_srec,monitor_make_srec): Add an asrecordRob Savoye1-0/+14
loader that reads files using BFD and converts it on the fly. * monitor.c (set_loadtype_command): Fixed so it doesn't core dump. * monitor.c (monitor_load): check the load type and load the file accordingly. Default to gr_load_image(). * monitor.c (monitor_load_ascii_srec): Load an ascii file in srecord format by downloading to the monitor. * w89k-rom.c, op50n-rom.c: set supported load types.
1994-10-19Add a ^C to the init string.Rob Savoye1-1/+1
1994-10-18 * monitor.c (set_loadtype_command): Fixed so it doesn't core dump.Rob Savoye3-46/+287
* monitor.c (monitor_load): check the load type and load the file accordingly. Default to gr_load_image(). * monitor.c (monitor_load_ascii_srec): Load an ascii file in srecord format by downloading to the monitor. * w89k-rom.c, op50n-rom.c: set supported load types.
1994-10-17Fix typo in my recent ChangeLog entry.Jim Kingdon1-1/+1
1994-10-17 * Makefile.in (ALLDEPFILES): Remove xcoffexec.c.Jim Kingdon5-259/+410
* Makefile.in: Remove xcoffexec.o rule. * exec.c (exec_file_command): Add comment. Fix data and bss relocation for VxWorks 5.1: * remote-vx.c (vx_add_symbols): New function. (vx_load_command, add_symbol_stub): Call it instead of symbol_file_add. (vx_wait): Remove comment which was wrong to useless. * remote-vx.c: Reindent much of file. * coffread.c (cs_to_section, find_targ_sec): New functions. (process_coff_symbol): Set SYMBOL_SECTION to result from cs_to_section. (coff_symtab_read): Call cs_to_section and deal appropriate rather than assuming sections are in a certain order. Deal with BSS. * coffread.c: Remove text_bfd_scnum variable.
1994-10-16 * corelow.c: Format to standard.Stan Shebs2-77/+89
(core_close): Use name instead of bfd_filename.
1994-10-15 * symfile.c (reread_symbols): Include bfd_errmsg string in errorJim Kingdon6-8/+28
message if bfd_close fails. * exec.c (exec_close), solib.c (clear_solib), corelow.c (core_close), objfiles.c (free_objfile), irix5-nat.c (clear_solib), osfsolib.c (clear_solib), remote-utils.c (gr_load_image): Check for errors from bfd_close. * solib.c (look_for_base), remote-utils.c (gr_load_image), remote-udi.c (download), corelow.c (core_open), symfile.c (symfile_bfd_open), symfile.c (generic_load): Add comment regarding error from bfd_close. * remote-udi.c (download), remote-utils.c (gr_load_image): Add comment about bogus handling of errors from bfd_openr. * exec.c (exec_close): Add comment regarding memory leak and dangling reference to vp->name.
1994-10-15 * exec.c (map_vmap): Cast return from xmalloc to its proper type,Jim Kingdon2-0/+25
not to PTR. * symfile.c (reread_symbols): Include bfd_errmsg string in error message if bfd_close fails. * exec.c (exec_close), solib.c (clear_solib), corelow.c (core_close), objfiles.c (free_objfile), irix5-nat.c (clear_solib), remote-utils.c (gr_load_image): Check for errors from bfd_close. * solib.c (look_for_base), remote-utils.c (gr_load_image), remote-udi.c (download), corelow.c (core_open), symfile.c (symfile_bfd_open), symfile.c (generic_load): Add comment regarding error from bfd_close. * remote-udi.c (download), remote-utils.c (gr_load_image): Add comment about bogus handling of errors from bfd_openr. * exec.c (exec_close): Add comment regarding memory leak and dangling reference to vp->name.
1994-10-15 * .Sanitize: Add nm-nbsd.h.Peter Schauer1-0/+1
1994-10-15 * eval.c (evaluate_subexp): Make fnptr a LONGEST insteadPeter Schauer4-52/+61
of using longest_to_int. * infcmd.c (run_stack_dummy): Reinstate set_current_frame call, mips and alpha targets need the real breakpoint pc for creating the breakpoint frame. * stack.c (return_command): Cast return value to the return type of the function from which we return. * values.c (set_return_value): Pass VALUE_CONTENTS unmodified to STORE_RETURN_VALUE. * symtab.c (lookup_symbol): Remove search for `static mangled symbols', the search for `static symbols' already looks for mangled and demangled symbols via lookup_block_symbol. * valarith.c (value_binop): Use ANSI C arithmetic conversions when performing integral evaluations, implement BINOP_EQUAL and BINOP_LESS. (value_equal, value_less): Use value_binop to perform the comparison if both operands have TYPE_CODE_INT. * rs6000-tdep.c (pop_frame): Make sure all registers are valid, as they are written back later. Handle sp restore for frameless functions. Use fdata.nosavedpc instead of fdata.frameless to determine if the pc has been saved. (function_frame_info): Handle `mr r31,r1', which is generated by gcc-2.6, as a synonym for `oril r31,r1,0'. (skip_trampoline_code): Handle shared library trampolines. * xcoffread.c (read_xcoff_symtabs): Record XMC_GL symbols with their real name. Enables setting of breakpoints in shared libraries before the executable is run.
1994-10-15 * monitor.h, remote-mon.c: Hack up to so the old ROM monitorRob Savoye3-59/+126
interface code still works with the new ROM monitor structures. Fake out a couple of fields.
1994-10-14 * h8500-tdep.c (target_read_sp, target_write_sp, target_read_pc,Stan Shebs3-20/+30
target_write_pc, target_read_fp, target_write_fp): Rename to h8500_read_sp, etc. (h8500_read_pc, h8500_write_pc): Add pid argument. * config/h8500/tm-h8500.h (TARGET_READ_SP, TARGET_WRITE_SP, TARGET_READ_PC, TARGET_WRITE_PC, TARGET_READ_FP, TARGET_WRITE_FP): Change to match functions above.
1994-10-13* NEWS: Add item about if and while.Jim Kingdon2-0/+4
1994-10-13 * .gdbinit: Restore `end'; it was not excess. ReindentJim Kingdon2-8/+17
list-objfiles to make this clear. Comment out all of list-objfiles because old gdb's choke on it.
1994-10-13correct commentIan Lance Taylor1-2/+1
1994-10-13 * config/mips/tm-bigmips64.h: Just define TARGET_BYTE_ORDER andIan Lance Taylor2-14/+7
include tm-mips64.h.
1994-10-13xcoffexec.c is goneStan Shebs1-1/+0
1994-10-13 * Makefile.in (ANNOTATE_OBS): New definition.Stan Shebs74-73/+81
(COMMON_OBS): Add exec.o. (annotate.o): Remove extra compile rule. * config/*/*.mh, config/*/*.mt: Remove exec.o from *DEPFILES lists everywhere.
1994-10-13It works fully now.Rob Savoye1-23/+23
1994-10-13Cleanup debugging messages.Rob Savoye1-34/+19
1994-10-13 * .gdbinit: Remove excess `end'.Stan Shebs2-1/+2
1994-10-13 * exec.c: Merge in RS6000 support from xcoffexec.c.Stan Shebs6-643/+191
(symfile.h, objfiles.h, xcoffsolib.h): Include. (vmap): New global variable. (exec_close): Close and free objects in vmap chain. (exec_file_command) [IBM6000_TARGET]: Set up initial vmap. (bfdsec_to_vmap, map_vmap): Moved here from xcoffexec.c. (exec_files_info): Print vmap information. * xcoffexec.c: Remove. * config/rs6000/rs6000.mt, config/rs6000/rs6000lynx.mt (TDEPFILES): Use exec.o instead of xcoffexec.o. * TODO: Remove pertinent items.
1994-10-12Cleanup debug logging, fix single stepping. WinBond works good!Rob Savoye4-99/+127
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-12Breakpoints work, run works. Fixed "monitor" command.Rob Savoye4-65/+119