aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1997-02-13 * gdb.disasm/*.mt: Deleted, no longer used.Jeff Law7-43/+709
* gdb.disasm/configure.in: Remove references to target makefile frags. Use "sh3.s" as the unique filename for this directory. * gdb.disasm/configure: Rebuilt. Cleaning up unused crud. * gdb.disasm/mn10200.s: New test file for mn10200 disassembler. * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests. * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning. mn10200 disassembler testsuite.
1997-02-13 * debugify.c, debugify.h: Make safe for non-ansi compilers.Dawn Perchik3-8/+42
1997-02-12 * defs.h: Fix prototypes for new cleanup functions.Dawn Perchik1-0/+4
1997-02-12 * debugify.c, debugify.h: Fix for general gnu use. Remove C++Dawn Perchik3-42/+100
comment, add PARAMS, add license info and fix indentation.
1997-02-12 * debugify.c, debugify.h: New files. Provide common macrosDawn Perchik4-0/+115
for writing debug info to a log file or stdio.
1997-02-12 * c-valprint.c: Fix checkin glitch.Dawn Perchik1-1/+0
1997-02-12 * c-valprint.c (c_val_print): Fix printing for arrays definedDawn Perchik2-0/+9
with 0 length. A sticky tag caused this fix from revision 2.32 date: 1996/04/29 23:25:27; author: dawn; state: Exp; lines: +1 -0 branches: 2.32.34; to not make it into devo.
1997-02-12 * defs.h: Fix cntl-C to read from the Windows message queue.Dawn Perchik6-47/+351
Add prototypes for make_final_cleanup (and the other cleanup routines. * remote-e7000.c: Fix sync code to timeout if unable to sync. Change sync code to report status while trying to sync-up with hardware. Add debugging output and document. * ser-e7kpc.c: Swap order of len & offset to match implementation. Add debugging output and document. * serial.c: Add debugging output. * top.c: Add call to do_final_cleanups. Remove conditionals preventing Win32 from getting SIGQUIT. * utils.c: (*_cleanup): Modify cleanup routines to accept a cleanup chain as a parameter. Extract this generic code from the cleanup routines into separate funtions (*_my_cleanup). Keep old functionality by passing "cleanup_chain" to the new funtions. Define the cleanup chain "final_cleanup_chain" to be a cleanup chain which will be executed only when gdb exits. Add functions (*_final_cleanup) to match the original (*_cleanup) functions. (pollquit, quit, notice_quit): Fix to read cntl-C from the Windows message queue.
1997-02-12Revert last structs.exp change -- I found the problem.Jeff Law1-2/+0
1997-02-12 * config/udi.exp: Use mondfe,name instead of remote_host.Bob Manson2-1/+5
remote_host is a bad naming choice.
1997-02-12Remove REG_STRUCT_HAS_ADDR change.Jeff Law2-2/+2
1997-02-12 * config/mn10200/tm-mn10200.h (STORE_STRUCT_RETURN): Fix.Jeff Law3-4/+32
* mn10200-tdep.c (mn10200_store_struct_return): New function. (REG_STRUCT_HAS_ADDR): Tweak. Fixes most of the structs.exp tests.
1997-02-12 * gdb.base/structs.exp: Expect some failures from the mn10200 port.Jeff Law2-0/+9
I don't want to deal with this for the alpha!
1997-02-11 * m32r-rom.c: #include <sys/types.h>.David Edelsohn1-0/+8
#ifdef out new load support if wingdb.
1997-02-11 * m32r/tm-m32r.h (TARGET_M32R): Define, for wingdb.David Edelsohn1-2/+4
1997-02-11 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Fix case whenJeff Law2-1/+4
extracting a return value from a register pair. Fixes remaining failures in callfuncs.exp, but not structs.exp.
1997-02-11 * gdb.base/watchpoint.exp: Don't expect a failure when callingJeff Law1-0/+3
a function with a watchpoint enabled on the mn10200.
1997-02-11 * mn10200-tdep.c (mn10200_push_arguments): Stack only needs toJeff Law3-12/+30
be two byte aligned. Round argument sizes up to two byte boundary. Write out args in two byte hunks. (mn10200_push_return_address): Implement. * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Abort for structures > 8 bytes (temporary). (STORE_RETURN_VALUE): Likewise. (CALL_DUMMY): No longer undefine. (USE_STRUCT_CONVENTION): Use for args > 8 bytes. (REG_STRUCT_HAS_ADDR): Define. Inferior function calls for the mn10200.
1997-02-11 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't existJeff Law1-0/+5
before trying to create it!
1997-02-11Add r5900Gavin Romig-Koch3-0/+37
1997-02-11 * config/vx.exp: Use hostname instead of netport.Bob Manson2-0/+13
* config/vxworks.exp: New file. * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id. * config/monitor.exp(gdb_target_monitor): Look for a prompt from gdb before assuming everything worked. Send a ^C if a timeout occurs. Random fixes for vxworks and d10v.
1997-02-11 * mips-tdep.c (non_heuristic_proc_desc): New function.Mark Alexander2-18/+122
(find_proc_desc): Move non-heuristic proc search code into separate function. (gdb_print_insn_mips): Use non-heuristic method to find procedure descriptor, to avoid prologue examination when disassembling. * remote-mips.c: Add support for new "lsi" target (LSI MiniRISC aka MicroMeteor board). (mips_exit_debug): Prevent protocol reinitialization if an error occurs while exiting debug mode.
1997-02-11 * lib/gdb.exp(gdb_test): Check the result of send_gdb. UseBob Manson2-13/+22
$gdb_spawn_id directly. Checking for errors actually helps. *sigh*
1997-02-10 * mn10200-tdep.c: Remove lots of debugging printfs, update/improveJeff Law3-184/+535
comments, formatting, etc. Plus other minor fixes for problems I found during my first pass over the mn10200 port. (mn10200_analyze_prologue): New function. (mn10200_frame_chain, mn10200_init_extra_frame_info): Use it. * config/mn10200/tm-mn10200.h: Lots of updates/improvements to comments, formatting, etc. Minor fixes for problems I found during my first pass over the mn10200 port. (TARGET_*_BIT): Define appropriately for ints, long longs, doubles and pointers. (REGISTER_VIRTUAL_TYPE): Define as a long. (EXTRACT_RETURN_VALUE): Rework to deal with long ints living in register pairs. (STORE_RETURN_VALUE): Similarly. Checking in my initial changes, prologue scanning, etc. Current gdb testsuite results: === gdb Summary === # of expected passes 3684 # of expected failures 40 # of unexpected failures 6
1997-02-10 * blockframe.c (generic_get_saved_regs): Remove unused variableJeff Law2-1/+15
"addr". * breakpoint.c (frame_in_dummy): Move struct breakpoint *b decl inside #ifdef CALL_DUMMY. (watch_command_1): Initialize target_resources_ok. * command.c (do_setshow_command): Provide dummy initialization for "match". * valops.c (find_function_addr): Move function & prototype inside #ifdef CALL_DUMMY. (value_arg_coerce): Similarly. (value_of_variable): Provide dummy initialization of "frame". Lint.
1997-02-10 * gdb.base/exprs.exp: Delete bogus/incorrect (and probablyJeff Law1-0/+3
redundant) test.
1997-02-10 * gdbtk.c (call_wrapper): Clear running_now if an error occurs.Stu Grossman2-0/+6
This fixes PR 11323, where gdbtk stops responding if an error occurs.
1997-02-10 * gdb.base/recurse.exp: Relax final value test for 'b' so thatJeff Law1-0/+5
it doesn't lose for 16bit integer systems.
1997-02-10 * xcoffread.c (RECORD_MINIMAL_SYMBOL): Add NULL asection* parameterFred Fish2-4/+11
to prim_record_minimal_symbol_and_info call that was missed in Jan 3 change. (scan_xcoff_symtab): Ditto.
1997-02-09 * remote-mips.c (common_breakpoint): Prevent 64-bit addressesMark Alexander4-7/+35
from being sent to 32-bit targets by masking off upper bits. * mips-tdep.c (heuristic_proc_start): Mask off upper 32 bits of PC on 32-bit targets. (mips16_heuristic_proc_desc): Recognize 'addiu s1,sp,n' as a frame setup instruction. (mips32_heuristic_proc_desc): Fix warning found by gcc -Wall. (mips16_skip_prologue): Recognize 'addiu s1,sp,n' as a valid prologue instruction. Fix warnings and bugs found by gcc -Wall. * buildsym.c (finish_block): Improve handling of overlapping blocks; fixes problem on MIPS16 printing function arguments.
1997-02-08 * dwarf2read.c (dwarf2_linkage_name): New function to getPeter Schauer2-31/+59
the linkage name of a die from DW_AT_MIPS_linkage_name or DW_AT_name. (read_func_scope, dwarf2_add_field, dwarf2_add_member_fn, new_symbol): Use it instead of accessing DW_AT_name. (read_partial_die): Use DW_AT_MIPS_linkage name as name of the partial die if present. (dwarf2_add_member_fn): Make a copy of physname on the type obstack.
1997-02-07 * blockframe.c (generic_frame_chain_valid): If the new frameJeff Law2-1/+8
is not INNER_THAN the old frame, then it's not valid.
1997-02-07 * gdb.fortran/types.exp: If the target doesn't support "double"Jeff Law1-0/+3
data types, then expect "real" types to only be 4 bytes.
1997-02-07 * gdb.c++/virtfunc.exp: Expect failure for virtual functionJeff Law1-0/+3
call tests if the target doesn't support inferior function calls.
1997-02-07 * gdb.base/printcmds.exp: Allow minor deviation in FP valuesJeff Law1-0/+5
in printf tests.
1997-02-06 * gdb.base/help.exp: Disable "help set", "help show", andJeff Law1-0/+3
"help support". Simplify regexp for "help stack". They're causing timeouts, overruns, etc again.
1997-02-06 * gdb.base/default.exp: Set match_max to 5000 and the timeoutJeff Law1-0/+4
to 60 seconds. Temporarily set match_max to 15000 around the "info copying" test. Fixes timeout/overflow problems for hpux10.20 hosted toolchains.
1997-02-06 * gdb.base/nodebug.exp: Don't try to do an inferior functionJeff Law5-1/+34
call if the target doesn't support them. * gdb.base/printcmds.exp: Likewise. * gdb.base/setvar.exp: Likewise. * gdb.base/structs.exp: Likewise. * gdb.c++/templates.exp: Likewise. * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff. * gdb.base/recurse.exp: Enable for the mn10200. * configure.in: Do configure gdb.stabs directory for *-*-elf targets. * configure: Rebuilt.
1997-02-06 * gdb.base/break.exp: Check for gdb,noresults before testingJeff Law3-24/+13
exit status and/or results from the target. * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise. * lib/gdb.exp: Remove old (now bogus) initialization of noinferior, noargs, noresults and nosignals. More cleanups for new testing framework.
1997-02-05 * config/sh.exp: New file.Bob Manson5-10/+22
* config/slite.exp: Try to connect multiple times to the board before rebooting. Only send a "monitor run" if need_monitor_run is set. * gdb.base/break.exp: Don't do the "stub continue" test if the target has gdb_stub set. * gdb.base/callfuncs.exp: Increase the timeout. * gdb.base/interrupt.exp: Don't even try to compile the testcase if the target has gdb,noinferiorio set. * gdb.base/list.exp: Increase match_max to 10000 characters. * gdb.base/sigall.exp: Check for gdb,nosignals on the target. * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the target. * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs. Misc fixes for sparclite and SH.
1997-02-05 * config/sh.exp: New file.Bob Manson1-0/+25
* config/slite.exp: Try to connect multiple times to the board before rebooting. Only send a "monitor run" if need_monitor_run is set. * gdb.base/break.exp: Don't do the "stub continue" test if the target has gdb_stub set. * gdb.base/callfuncs.exp: Increase the timeout. * gdb.base/interrupt.exp: Don't even try to compile the testcase if the target has gdb,noinferiorio set. * gdb.base/list.exp: Increase match_max to 10000 characters. * gdb.base/sigall.exp: Check for gdb,nosignals on the target. * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the target. * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs. Misc fixes for sparclite and SH.
1997-02-04 * mips-tdep.c (mips16_get_imm): Fix calculation of extended immediate.Mark Alexander2-1/+8
(mips16_heuristic_proc_desc): Recognize jal(x) instruction.
1997-02-04 * mips-tdep.c (mips16_decode_reg_save): Distinguish betweenMark Alexander2-114/+319
sd and sw instructions correctly. (heuristic_proc_start): Add support for MIPS16. (mips16_get_imm, mips16_heuristic_proc_desc, mips32_heuristic_proc_desc): New helper functions for heuristic_proc_desc. (heuristic_proc_desc): Rewrite and reorganize to support MIPS16. (mips_push_arguments): Don't align small arguments in EABI. (mips32_skip_prologue): Attempt to shrink code size a little.
1997-02-03 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit beforeBob Manson2-5/+11
trying to delete the copy of gdb. Catch the file delete so we don't die if the delete fails; also, the file should be copied to the host, not to the build. Fixes problems when gdb isn't built with debugging.
1997-02-03Mon Feb 3 11:06:05 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-1/+572
* m32r-stub.c: New -- remote protocol support for M32R cpu. * m32r-rom.c: Several experiments with improved download time. * .Sanitize: Add entry for m32r-stub.c
1997-02-03 * lib/gdb.exp(gdb_test): Surround the result pattern withBob Manson4-124/+61
parenthesis in case it contains multiple regexps separated with |. Fixes last nights native failures. * gdb.base/watchpoint.exp: Use gdb_test. * gdb.base/default.exp: Ditto. More improvements.
1997-02-02 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.Bob Manson59-662/+670
* gdb.base/scope.exp: Use gdb_test. * gdb.c++/classes.exp: Ditto. * gdb.c++/inherit.exp: Ditto. More random cleanups. Still lots to go, however.
1997-02-02Committing sanitize changesGeoffrey Noer5-3/+37
1997-01-31 * gdb.base/crossload.exp: Don't use execute_anywhere, useBob Manson6-19/+28
remote_exec instead. * gdb.base/corefile.exp: Don't be ridiculous. * gdb.base/*.c: Add missing stub invocations. Fixes failures on HP-UX.
1997-01-31do d10v sanitization over all filesStan Shebs1-4/+2