aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1998-05-24 * ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 soKeith Seitz4-3/+56
that we can use this member to track real timeouts. (hardwire_readchar): Modify for cygwin32 so that we only ever use a real system timeout of one second. Track the "real" timeout as a series of th ese one second timeouts. Call ui_loop_hook to keep the gui alive. * top.c: Define new hook for cygwin32, "ui_loop_hook". * gdbtk.c (gdbtk_init): Add ui_loop_hook for CygWin32 to work around update problems.
1998-05-23 * dwarf2read.c (read_subroutine_type): Set TYPE_FLAG_PROTOTYPEDPeter Schauer2-2/+15
on C++ functions. * valops.c (value_arg_coerce): Add new argument to indicate whether the function has a prototype, handle integer and float promotions accordingly. (call_function_by_hand): Always call value_arg_coerce, pass down prototype information.
1998-05-22Reformat for consistency.Jason Molenda1-54/+55
1998-05-22 * remote.c (_initialize_remote): Typo extended__remoteJohn Metzler2-1/+5
1998-05-21Thu May 21 13:14:25 1998 John Metzler <jmetzler@cygnus.com>John Metzler24-989/+1307
* gnu-nat.c (init_gnu_ops): Initialization of target ops by assignment. (_initialize_gnu_nat): Call new init * mac-nat.c (init_child_ops): Ditto (_initialize_mac_nat): Ditto * monitor.c (init_base_monitor_ops): Ditto (_initialize_remote_monitors) : Ditto * ppc-bdm.c (init_bdm_ppc_ops): Ditto (_initialize_bdm_ppc): Ditto * remote-adapt.c ( init_adapt_ops): Ditto (_initialize_remote_adapt): Ditto * remote-array.c (init_array_ops) : Ditto (_initialize_array): Ditto * remote-bug (init_bug_ops) : Ditto (_initialize_remote_bug): Ditto * remote-e7000.c (init_e7000_ops): Ditto (_initialize_remote_e7000) : Ditto * remote-eb.c (init_eb_ops) : Ditto (_initialize_remote_eb) : Ditto *remote-es.c (init_es1800_ops) : Ditto (init_es1800_child_ops) : Ditto (_initialize_es1800) ; Ditto *remote-hms.c (init_hms_ops): Ditto (_initialize_remote_hms) : Ditto * remote-mm.c (init_mm_ops): Ditto (_initialize_remote_mm) : Ditto * remote-nindy.c (init_nindy_ops): Ditto (_initialize_nindy): Ditto * remote_nrom.c (init_nrom_ops) : Ditto (_initialize_remote_nrom) : Ditto *remote-os9k (init_rombug_ops) : Ditto (_initialize_remote_os9k) : Ditto *remote-rdi.c (init_rdi_ops) : Ditto (_initialize_remote_rdi) : Ditto * remote-rdp.c (init_remote_rdp_ops) : Ditto (_initialize_remote_rdp) : Ditto * remote-sds.c (init_sds_ops) : Ditto (_initialize_remote_sds) : Ditto * remote-sim.c (init_gdbsim_ops) : Ditto (_initialize_remote_sim) : Ditto * remote-st.c (init_st2000_ops): Ditto (_initialize_remote_st2000): Ditto *remote-udi.c (init_udi_ops) : Ditto (_initialize_remote_udi) : Ditto * remote-vx.c (init_vx_ops) : Ditto (init_vx_run_ops) : Ditto (_initialize_vx) : Ditto * remote.c (init_remote_ops): Ditto (init_extended_remote_ops): Ditto (_initialize_remote): Ditto * sparcl-tdep.c (init_sparclite_ops): Ditto (_initialize_sparcl_tdep): Ditto * v850ice.c (init_850ice_ops): Ditto (_initialize_v850ice): Ditto *win32-nat.c: (init_child_ops): Ditto (_initialize_inftarg): Ditto
1998-05-21remove errant ChangeLog header.Jason Molenda1-2/+0
1998-05-21Thu May 21 13:56:24 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni3-13/+51
* gdbtk.c: reinserted the changes that were accidentally deleted: (_initialize_gdbtk): Use correct device names in cygwin-specific call (cosmetic change). (gdbtk_ignorable_warning): removed va_list parameter, which was unused. (_initialize_gdbtk): add cygwin32 specific code to allow `gdb -nw' to work when specified specified from a windows console-mode command line. * ChangeLog: moved Chris Faylor's comment to ChangeLog-gdbtk
1998-05-20Small typeos.Jason Molenda1-10/+9
1998-05-20 * mips/tm-tx39.h (MIPS_DEFAULT_FPU_TYPE) : Defined as MIPS_FPU_NONE.Gavin Romig-Koch3-0/+7
* mips/tm-tx39l.h : Same.
1998-05-20Wed May 20 10:12:11 1998 John Metzler <jmetzler@cygnus.com>John Metzler1-0/+12
* m32r-tdep.c: (decode_prologue): Handle frames compiled with -Os. Split out as separate function called by skip prologue and scan prologue. new formula handles optimization in which the prologue is interleaved with the body of the function. Also recognizes new variations of prologue encoding. Use of frame pointer is essential to debugging, -fno-omit-frame-pointer (m32r_skip_prologue): Call decode prologue, ignore line info (m32r_scan_prologue): Call decode prologue, ignore line info
1998-05-20Tue May 19 17:23:54 1998 John Metzler <jmetzler@cygnus.com>John Metzler3-110/+110
* w89k-rom.c (_initialize_w89k ): Call new init function (init_w89k_cmds): Convert to dynamic initialization of monitor_ops data structure for forward compatability with additions to the data structure. * dbug-rom.c (_initialize_dbug_rom): ditto (init_dbug_cmds): ditto * m32r-rom.c (_initialize_m32r_rom): ditto (init_m32r_cmds): ditto
1998-05-18 * dbxread.c (process_one_symbol): If block addresses are relative toKeith Seitz1-0/+6
function start addresses, reset function_start_address whenever a new source file is seen.
1998-05-17 * gdb.base/reread.exp: New file.Mark Alexander5-0/+171
* gdb.base/reread1.c: New file. * gdb.base/reread2.c: New file.
1998-05-17 * config/sim.exp: Use 'target sim -sparclite' when runningMark Alexander2-14/+24
SPARClite programs.
1998-05-17Keep structs2.{c,exp} for now.Doug Evans1-2/+2
1998-05-17 * gdb.base/structs2.exp: New file.Doug Evans4-0/+149
* gdb.base/structs2.c: New file.
1998-05-16* Bringing over patches for PR 15870, 15653 from chill/d30v branches.Frank Ch. Eigler3-8/+26
Also, fixed a small third-party sanitize typo in ChangeLog.
1998-05-15Java sanitization.Stu Grossman4-11/+84
1998-05-14Fix for PR 13484:Mark Alexander2-0/+24
* corefile.c (reopen_exec_file): Reopen the exec file if it has changed.
1998-05-14spelling and cosmetic tweaksStan Shebs1-12/+12
1998-05-13 * sparc-tdep.c (fetch_instruction): New function.Mark Alexander1-0/+7
(single_step, sparc_init_extra_frame_info, examine_prologue): Use fetch_instruction instead of read_memory_integer to ensure that instructions are always read as big-endian.
1998-05-13 * configure.in: Add AC_FUNC_ALLOCA.Ian Lance Taylor3-80/+320
* defs.h: Check HAVE_ALLOCA_H rather than sparc. Add _AIX pragma alloca. * configure: Rebuild.
1998-05-13 * gdb.asm/common.inc: New file.Doug Evans3-0/+60
* gdb.asm/d10v.inc: New file. * asm-source.exp: Pass -I's to gas to find .inc files. Update line numbers in expected output. * asmsrc1.s: Rewrite. * asmsrc2.s: Rewrite. * configure.in: Create arch.inc symlink. * configure: Regenerate. * Makefile.in (distclean): Delete arch.inc.
1998-05-13Wed May 13 11:12:58 1998 James Ingham <jingham@leda.cygnus.com>Jim Ingham3-12/+23
* gdbtk.c: Fixed a goof in the definition of the gdb_get_args & gdb_get_locals Tcl commands. Moved the previous ChangeLog entry from ChangeLog to ChangeLog-gdbtk...
1998-05-13fix thinko that broke sanitized vr4100 buildAngela Marie Thomas1-14/+2
1998-05-12Tue May 12 13:29:20 1998 Jeff Holcomb <jeffh@cygnus.com>Jeff Holcomb2-19/+14
* Makefile.in (install-only): Add images/icons.txt and images2/icons.txt to files that need to be installed.
1998-05-12Tue May 12 12:03:16 1998 James Ingham <jingham@leda.cygnus.com>Jim Ingham2-59/+224
* gdbtk.c: Add an object call wrapper for the new Tcl_Obj based commands. This way the obj commands will also go through catch_errors. This is just a bandaid while I rewrite the string-based commands to use the object format.
1998-05-08 * config/sparc/tm-sp64.h (CALL_DUMMY): Store and retrieveBob Manson4-9/+132
%o0-%o5 as 64-bit values; compensate for stack bias. (USE_STRUCT_CONVENTION): We only pass pointers to structs if they're larger than 32 bytes. (REG_STRUCT_HAS_ADDR): Ditto. * sparc-tdep.c (sparc_init_extra_frame_info): Use read_sp() instead of read_register. If the target is a sparc64 and the frame pointer is odd, compensate for the stack bias. (get_saved_register): Use read_sp(). (DUMMY_STACK_REG_BUF_SIZE): Use FP_REGISTER_BYTES. (sparc_push_dummy_frame): Use read_sp()/write_sp(). On sparc64, save the PC, NPC, CCR, FSR, FPRS, Y and ASI registers. (sparc_frame_find_saved_regs): Use read_sp(). Read the PC, NPC, CCR, FSR, FPRS, Y and ASI registers from the frame, if it's a dummy frame. (sparc_pop_frame): Use write_sp(). If the target is a sparc64 and the FP is odd, compensate for stack bias. (sparc_store_return_value): Right-justify the return value before writing it to %o0. (sparc_fix_call_dummy): Don't NOP out part of the call dummy on sparc64. (sparc64_read_sp, sparc64_read_fp, sparc64_write_sp, sparc64_write_fp, sp64_push_arguments, sparc64_extract_return_value): New functions to support the sparc64 ABI. * dwarfread.c (handle_producer): Set processing_gcc_compilation to the right version number. * dwarf2read.c (read_file_scope): Assume we're processing GCC2 output.
1998-05-06 * somsolib.c: Include gdb_stat.h.Jeff Law2-0/+11
1998-05-05Tue May 5 09:30:25 1998 Christopher Faylor <cgf@cygnus.com>Christopher Faylor2-2/+7
* gdbtk.c (_initialize_gdbtk): Use correct device names in cygwin-specific calls (cosmetic change).
1998-05-04Update copyright.Stu Grossman1-1/+1
1998-05-04 * ocd.h: Add new flags, function codes, and processor types to supportStu Grossman1-0/+5
new Wiggler capabilities. * (ocd_write_bytes_size): New function to allow atomic writes of memory in sizes larger than a byte.
1998-05-04Mon May 4 10:37:12 1998 Brian Youmans (3diff@gnu.org)Jason Molenda1-0/+4
* refcard.tex: Copyright, address updates.
1998-05-04* Fixes for chill PR 15681Frank Ch. Eigler3-0/+12
Fri May 1 19:51:32 1998 Frank Ch. Eigler <fche@cygnus.com> * stabsread.c (read_one_struct_field): Do not override supplied bitfield size for a range type value. * gdbtypes.c (create_range_type): For a range with positive lower limit, declare range type as unsigned.
1998-05-02 * ser-unix.c (baudtab): Add 57600, 115200, 230400, and 460800 baud.Stu Grossman2-0/+16
1998-05-01 * monitor.c: Turn off debugJohn Metzler1-0/+4
1998-05-01 * breakpoint.c (delete_command): Skip internal breakpoints whenPeter Schauer2-10/+47
all breakpoints are requested. * stabsread.c (define_symbol): Record parameter types from Sunpro function stabs in the TYPE_FIELDS of the function type.
1998-04-30Thu Apr 30 15:59:54 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda1-11/+22
* Makefile.in (config-check-targets, config-check-hosts): Removed. 1998-04-30 Paul Eggert <eggert@twinsun.com> * Makefile.in (maintainer-clean): Don't get ahead of yourself and delete Makefile before running `make'. (local-maintainer-clean, do-maintainer-clean): New rules.
1998-04-30Wed Apr 29 15:53:16 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-5/+9
* gdbtk.c (gdbtk_ignorable_warning): removed va_list parameter, which was unused.
1998-04-29Wed Apr 29 10:20:40 1998 John Metzler <jmetzler@cygnus.com>John Metzler3-60/+542
* nec4102rom.c : New file implements rom monitor adapter for nec-vr4102 board. This board hosts the vr4111 chip. This file required extenstions to the monitor_ops structure, hooks for wiat filter, new flags. This version does not support more than one breakpoint and resuming after a breakpoint in 16 bit mode is completely disfunctional. * monitor.h : Defined additional hooks for dmpregs, confinuer_hooks and wait_filter. These additions require that all rom monitor interfaces be recoded to to initializa monitor ops using assignments rather than static structure initialization. Added new bits to flags MO_EXACT_DUMPADDR, MO_HAS_BLOCKWRITES * monitor.c (RDEBUG): Conditional tracing throughout the file. (fromhex): Now recognized upper cse hex digits (monitor_printf_noecho): (monitor_readchar): Tracing interferes with input timing. (monitor_open): Register different memory write functions with dcache_init if MO_HAS_BLOCKWRITES. (flush_monior_dcache): Added as an additional utilty. (monitor-resume): Call continue hook if one has been supplied. (monitor_wait_filter): New function Factored out of monitor wait and used if alternate wait-filter has not been provided. (monitor_wait): call alternate wait filter if provided. Call monitor_dump_regs, a new function factored out from inline code. (monitor_dump_block): A new function used as a utility when monitors must dump several blocks of registers using different commands. (monitor_dump_regs): Call alternate function if provided. Uses new hook in monitor.h. (monitor_write_memory): Engage previouly added hook MO_FILL_USES_ADDR. (monitor_write_even_block): new function supports writing long blocks of 4byte words. (longlongendswap): new internal function (monitor_write_memory_longlongs): new function writes large blocks using command to enter a long long. (monitor_write-memory_block): new Function figures out which block mod to use. (monitor_read_memory): Can now handle dump formats in which the bytes preceeding the requested data is not printed. * monitor.h: Added new fields to the structure
1998-04-29 * Makefile.in (GDBTKLIBS): New macro.Tom Tromey4-31/+48
(INSTALLED_LIBS): Include GDBTKLIBS. (CLIBS): Likewise. * configure: Rebuilt. * configure.in: Put Tcl/Tk libs into GDBTKLIBS, not LIBS. (GDBTKLIBS): AC_SUBST.
1998-04-29 * tracepoint.c (memrange_cmp): Another typo fix; `memrbnge' ->Tom Tromey2-1/+4
`memrange'.
1998-04-29 * tracepoint.c (memrange_cmp): Fixed typo in function intro.Tom Tromey2-1/+5
1998-04-29Tue Apr 28 17:41:20 1998 Philippe De Muyter <phdm@macqel.be>Jason Molenda2-16/+30
* symfile.c (overlay_auto_command): Add forgotten parameter definitions. (overlay_manual_command, overlay_off_command): Likewise. (overlay_load_command): Likewise. * tracepoint.c (memrange_cmp): Parameters have type void *, not struct memrange *.
1998-04-28Tue Apr 28 11:08:25 1998 John Metzler <jmetzler@cygnus.com>John Metzler2-1/+5
* rom68k-rom.c (_initialize_rom68k): Fix unresolved init_rom_68kcmds
1998-04-27 * config/sparc/tm-sparc.h (CALL_DUMMY): Shorten it drastically,Mark Alexander2-106/+64
make it work on the simulator. (FIX_CALL_DUMMY): Convert to function call instead of inline code. (sparc_fix_call_dummy): Declare. * sparc-tdep.c (sparc_fix_call_dummy): New function, taken from old FIX_CALL_DUMMY macro, with additional fixes for simulator. (sparc_push_dummy_frame): Set registers differently on simulator to prevent corrupted register window save areas.
1998-04-27Mon Apr 27 13:46:40 1998 John Metzler <jmetzler@cygnus.com>John Metzler11-575/+528
* rom68k-rom.c (_initialize_rom68k init_rom68k_cmds): * abug-rom.c (_initialize_abug_rom init_abug-cmds): * cpu32bug-rom.c (_initialize_cpu32bug_rom init_cpu32bug_cmds): * mon960-rom.c (initialize_mon960 init_mon960_cmds): * op50-rom.c (initialize_op50n init_op50n_cmds) : * ppcbug-rom.c (_initialize_ppcbug_rom init_ppc_cmds) : * sh3-rom.c (_initialize_sh3_rom init_sh3_cmds) : * sparclet-rom.c (_initialize_sparcletinit_sparclet_cmds ) : * remote-est.c ( _initialize_est init_est_cmds) : * remote-hms.c ( _initialize_remote_hms init_hms_cmds) : Convert all static initializations of monitor ops structures to executable initializations in oreer tat additions to the data structure definition can me made without repeating this editing exercise
1998-04-27Mon Apr 27 10:43:04 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-1/+5
* gdb_string.h (strdup): Don't specify arguments in prototype.
1998-04-26 * rs6000-nat.c (vmap_ldinfo): Issue warning instead of error ifPeter Schauer2-12/+32
fstat on ldinfo_fd fails. Use objfile->obfd instead of vp->bfd to check for reference to the same file. * target.c (target_read_string): Handle string transfers at the end of a memory section gracefully.
1998-04-25Fri Apr 24 17:18:56 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-1/+5
* Makefile.in: enable EXEEXT setting