aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1998-08-14 * mn10300-tdep.c (set_movm_offsets): Change second argument toJeff Law1-0/+6
be the actual args to movm itself. All callers changed. Only set fi->fsr.regs[x] if reg X is saved by the movm instruction.
1998-08-14 * sol-thread.c (lwp_to_thread): Fix error message for failingPeter Schauer2-2/+14
td_ta_map_lwp2thr call. (ps_lgetLDT): Mask off upper bits in GS register when comparing with selector.
1998-08-13Added Foundry SDK changes.Drew Moseley3-233/+346
1998-08-13Added a scope-level around the contents of an #ifdef inDrew Moseley2-2/+10
gdbtk_cleanup() so that the variable declarations in there would not be illegal in a C compilation.
1998-08-12 * expprint.c (dump_prefix/postfix_expression): Don't try to print typeStu Grossman1-0/+5
expressions.
1998-08-12 * c-typeprint.c (c_print_type): Don't crash if varstring is null.Stu Grossman4-39/+389
* expprint.c expression.h (dump_expression): Rename to dump_prefix_expression. * Print out the expression in normal form. Call print_longest instead of trying to do it ourselves. * (dump_postfix_expression): New function, prints out the expression with indentation and better formatting and interpretation. * parse.c (parse_exp_1): Put calls to dump expressions under ifdef MAINTENANCE_CMDS and expressiondebug variable.
1998-08-12* Handle the possibility that some simulator commands may modify registerFrank Ch. Eigler1-0/+4
state behind gdb's back. Wed Aug 12 16:30:01 1998 Frank Ch. Eigler <fche@cygnus.com> * remote-sim.c (simulator_command): Reset register cache after simulator command.
1998-08-12sanitize-vr5400 -> sanitize-cygnus, for 98r2Ken Raeburn3-10/+10
1998-08-06 * txvu-tdep.c: add VU0/1 control registersRon Unrau1-0/+5
* config/mips/tm-txvu.h: ditto
1998-08-04 * txvu-tdep.c (txvu_insert_breakpoint): make sure CPU context isRon Unrau1-0/+8
set to correct VU memory space. (txvu_remove_breakpoint): use this instead of txvu_breakpoint_from_pc * config/tm-txvu.h: use new track-table address Do note define BREAKPOINT_FROM_PC anymore
1998-07-31 * config/tm-txvu.h: use NUM_CORE_REGS instead of NUM_R5900_REGSRon Unrau1-0/+19
* mips-tdep.c: use NUM_CORE_REGS * txvu-tdep.c: use NUM_CORE_REGS, add function prototypes (txvu_insert_breakpoints): use VIF interrupt bit
1998-07-31Change the definition of ui_loop_hook to be a function pointerDrew Moseley1-1/+1
rather than a function.
1998-07-30 * mips-tdep.c (mask_address_p): New variable.Mark Alexander1-1/+2
(mips_addr_bits_remove): Test mask_address_p to decide whether to mask off the upper 32 bits of addresses. (_initialize_mips_tdep): Add command to set mask_address_p. (mips_call_dummy_address): New function. * config/mips/tm-mips.h (CALL_DUMMY_ADDRESS): Redefine to call mips_call_dummy_address.
1998-07-29 * symfile.c (add_symbol_file_command): Test for the from_ttyFernando Nasser1-0/+5
parameter and avoid query when not interactive. PR16620
1998-07-29 * mn10300-tdep.c (set_movm_offsets): Do nothing for the am33Jeff Law1-0/+9
registers if we are not in am33 mode. (mn10300_frame_chain, mn10300_frame_saved_pc): Similarly. (set_machine_hook): Keep track of whether or not we're in am33 mode.
1998-07-27Mon Jul 27 16:11:42 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-1/+52
* tracepoint.c (remote_set_transparent_ranges): new function. Send the start and end addresses of all loadable read-only sections down to the trace target, so that it can treat them as "transparent" (ie. don't care if they were collected or not).
1998-07-27 * mn10300-tdep.c (mn10300_analyze_prologue): Undo previous fixMark Alexander2-3/+10
for setting frame address in optimized code; made unnecessary by compiler fixes.
1998-07-27Mon Jul 27 13:07:16 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt4-109/+46
* gdbtk.c (gdbtk_call_command): Removed because it is now in gdbtk-hooks.c (null_routine): Removed. * gdbtk-hooks.c (tracepoint_notify): Fix sprintf to match number of arguments. * gdbtk-cmds.c (gdb_loc): When calling gdb_loc with an argument, call find_pc_line() to get a complete symtab_and_line struct.
1998-07-27Mon Jul 27 10:45:56 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt1-2/+8
* symtab.c (decode_line_1): For minimal symbol, call find_pc_sect_line() to make sure the line number gets set properly. (print_symbol_info): Redeclare function void.
1998-07-271998-07-27 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda2-1/+7
* config/d10v/tm-d10v.h (REGISTER_NAMES): sp -> r15. The stack pointer et al are synthesized from the SP_REGNUM (etc) defines and should not be mentioned in REGISTER_NAMES. There is a log discussion copied into PR 15966 about how this is not handled consistently across all targets and we ought to clean it up a bit. I'm not tackling the general for this PR, though.
1998-07-27 * mn10300-tdep.c (mn10300_frame_chain): Account for space savedJeff Law2-1/+21
by am33 register saves. (mn10300_frame_saved_pc): Similarly.
1998-07-24 * gdb.gdbtk/Makefile.in: Add new example program "stack".Keith Seitz5-0/+1043
* gdb.gdbtk/browser.test,browser.exp: Add browser window tests. * gdb.gdbtk/stack1.c,stack2.c: Test case for browser window.
1998-07-24 * gdbtk-cmds.c (gdb_search): Add missing NULL to switches.Keith Seitz2-33/+50
Add missing flags to result_ptr. Pass along any errors caused by getting the list of files from tcl. Allocate correct amount of memory for the file list. Don't do any unecessary cleanups.
1998-07-24 * gdb.disasm/am33.s: Add tests for autoincrement instructions.Jeff Law1-0/+19
* gdb.disasm/am33.exp: Run time. Update tests which use r8-r15 to use a0-a3/d0-d3 as needed.
1998-07-24 * stabs.texinfo (Method Type Descriptor): Expand and correct.Ian Lance Taylor2-12/+21
1998-07-24Fri Jul 24 14:41:19 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-33/+62
* tracepoint.c (encode_actions): Treat register names and simple variable names as special cases and don't convert them to byte- codes: these things can be collected far more efficiently without invoking the bytecode interpreter.
1998-07-24 * config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make itMark Alexander2-2/+5
work on hosts of any endianness. * config/i386/tm-i386v.h: Ditto.
1998-07-24 * config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make itMark Alexander2-2/+9
work on hosts of any endianness.
1998-07-24 * mn10300-tdep.c (set_movm_offsets): New helper functionMark Alexander2-157/+464
for mn10300_analyze_prologue. (mn10300_analyze_prologue): Simplify by factoring out common code. Fix bugs in setting frame address for optimized code. Use read_memory_nobpt instead of target_read_memory.
1998-07-24Fri Jul 24 01:08:37 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-2/+7
* gdbtk-cmds.c (gdb_loadfile): When there are no linenumbers, use only one tab.
1998-07-24remove d30v sanitizationIan Lance Taylor5-78/+7
1998-07-24Thu Jul 23 17:01:17 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-6/+22
* tracepoint.c (collect_symbol): handle LOC_ARG case.
1998-07-23 * sparc-tdep.c (sparc_init_extra_frame_info): Recognize when we'reDawn Perchik2-0/+8
in a function prologue before the SAVE instruction. (sparc_frame_saved_pc): Ditto. * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Add in_prologue flag.
1998-07-23 * i386-tdep.c (i386_get_frame_setup): Recognize functionDawn Perchik1-0/+5
prologues in code compiled with -fcheck-stack.
1998-07-23 * remote-mips.c (remote_mips_insert_hw_breakpoint,Dawn Perchik2-0/+40
remote_mips_remove_hw_breakpoint): New functions for hardware breakpoints on LSI targets. * config/mips/tm-embed.h (target_remove_hw_breakpoint, target_insert_hw_breakpoint): Define to call remote_mips_insert_hw_breakpoint and remote_mips_remove_hw_breakpoint, respectively.
1998-07-23* VU memory now accessed via kseg1.Ian Carmichael1-0/+14
1998-07-21(gdb_listfiles): Fix comments and cleanup.Martin Hunt1-16/+22
1998-07-19Sun Jul 19 02:11:45 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt3-1/+13
* symtab.c (decode_line_2): Instead of printing a prompt and calling command_line_input() without a prompt, just call it with the proper args. This makes the GUI work too. Sat Jul 18 12:28:39 1998 Martin M. Hunt <hunt@cygnus.com> * gdbtk.c (gdbtk_cleanup): Add call to tcl function gdbtk_cleanup. We need this so the GUI gets to clean up no matter how GDB exits.
1998-07-17 * blockframe.c (find_pc_sect_partial_function): allow for the possi-Ron Unrau3-19/+59
bility of multiple symbols at the same address when finding high. * breakpoint.c (resolve_sal_pc): if the function based section lookup fails, try getting the section from the minimal symbol table. * parse.c (write_exp_msymbol): use symbol_overlayed_address to get the LMA of a minimal symbol if unmapped. * symtab.c (find_line_symtab): change interface to return symtab containing the best linetable found. (decode_line_1): use find_line_symtab to set val.symtab. This should improve support for source files with multiple symtabs. * tm-txvu.h: include tm-mips64.h instead of starting from scratch.
1998-07-15Merge v850 branch ICE support onto devo.Keith Seitz1-189/+558
1998-07-15 * main.c (main): Fix violations of GNU coding standard.Keith Seitz3-22/+55
* breakpoint.c: Export delete_command. * infcmd.c: Export continue_command, stepi_command, and nexti_command. * Makefile.in: Add target for v850ice.o. * configure.tgt: Add cygwin32 dependencies for v850 ice.
1998-07-15Cope with setting trace points on symbols which do not have an associated ↵Nick Clifton2-12/+30
directory.
1998-07-14 * configure.in: Fix sanitization start/end error.Keith Seitz1-3/+4
* configure: Regenerate.
1998-07-13 * gdb.base/callfuncs.exp: add cmp10 test.Felix Lee1-0/+5
* gdb.base/callfuncs.c (cmp10): new function.
1998-07-10Remove references to Alcatel.Per Bothner2-11/+11
1998-07-10 * gdb.base/commands.exp: Break up infrun_breakpoint_command_testDawn Perchik1-0/+5
into two parts to get around a synchronization problem in expect.
1998-07-09 * mn10300-tdep.c (mn10300_generic_register_names): New variable.Jeff Law4-2/+76
(set_machine_hook): New function. Copy the appropriate register names into reg_names. (_initialize_mn10300_tdep): Set up to call set_machine_hook. * tm-mn10300 (NUM_REGS): Bump to 32. (REGISTER_NAMES): Updated accordingly. start-sanitize-am33 * mn10300-tdep.c (am33_register_names): New variable. (mn10300_analyze_prologue): Handle regs saved by am33 prologues. * tm-mn10300.h (E0_REGNUM): Define. end-sanitize-am33 Initial am33 support.
1998-07-07 symtab.c (find_pc_sect_psymbol) - handle address 0 betterRon Unrau1-0/+4
1998-07-02* Belatedly bringing over PR 15850 patch from d30v branch.Frank Ch. Eigler1-0/+5
Thu Jul 2 15:57:58 1998 Frank Ch. Eigler <fche@cygnus.com> * breakpoint.c (resolve_sal_pc): Accept absence of innermost Lexical block for breakpoint resolution.
1998-07-02 * mdebugread.c (parse_partial_symbols): Go ahead and read the .mdebugDawn Perchik2-94/+98
section, but just don't add a 2nd minimal symbol if this is an .mdebug section in an ELF file.