aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 * tic80-opc.c (tic80_operands): Fix typo '+' -> '|'.Fred Fish2-50/+60
(tic80_opcodes): Sort entries so that long immediate forms come after short immediate forms, making it easier for assembler to select the right one for a given operand.
1997-02-11 * configure.host (i386-windows): Don't set host64=true.David Edelsohn1-0/+4
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/tc-tic80.c: Numerous changes and additions to fleshFred Fish2-77/+389
out functions that were previously just stubs, and fix some problems found using the new TIc80 testsuite cases.
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 * gas/tic80/{add.d, add.lst, add.s, bitnum.d, bitnum.lst, bitnum.s,Fred Fish22-0/+1422
ccode.d, ccode.lst, ccode.s, cregops.d, cregops.lst, cregops.s, endmask.d, endmask.lst, endmask.s, regops.d, regops.lst, regops.s, tic80.exp}: New files for TIc80 test cases.
1997-02-11 * config/tc-mips.c (mips16_ip): Handle %gprel modifier.Ian Lance Taylor2-14/+59
(md_apply_fix): Handle BFD_RELOC_MIPS16_GPREL. * config/tc-mips.c (append_insn): Output jump instruction as a pair of 2 byte instructions, rather than as a single 4 byte instruction. start-sanitize-r5900 * config/tc-mips.c (md_begin): Correct test of mips_5900. (mips_ip): Don't check INSN_ISA for a macro. end-sanitize-r5900
1997-02-11 * gas/mips/mips16.d: Update for change in disassembly output.Ian Lance Taylor2-6/+694
1997-02-11 * mips-dis.c (_print_insn_mips): Set bytes_per_chunk andIan Lance Taylor2-0/+12
display_endian. (print_insn_mips16): Likewise.
1997-02-11 * scripttempl/elfmips.sc: When relocating, put .mips16.fn.* andIan Lance Taylor2-1/+8
.mips16.call.* in .text.
1997-02-11 * elf32-mips.c (reloc_type): Add R_MIPS16_GPREL.Ian Lance Taylor4-0/+20
(elf_mips16_gprel_howto): New static variable. (mips16_gprel_reloc): New static function. (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS16_GPREL. (mips_info_to_howto_rel): Handle R_MIPS16_GPREL. (mips_elf_relocate_section): Handle R_MIPS16_GPREL. * reloc.c (BFD_RELOC_MIPS16_GPREL): Define. * bfd-in2.h, libbfd.h: Rebuild.
1997-02-11New version from Andrew; Portability fixes on top of thatMichael Meissner13-22/+538
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 * elf32-m32r.c (elf_m32r_howto_table): Change partial_inplace to trueDavid Edelsohn2-6/+13
for R_M32R_{16,32,24,HI16_ULO,HI16_SLO,LO16}.
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-11Fix warnings when compiling callback.cMichael Meissner2-2/+7
1997-02-11Silence warnings in ppc simulatorMichael Meissner1-1/+10
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-Koch26-190/+2093
1997-02-11 * gas/mips/itbl-test.c: Add copyright message and fix indentation.Dawn Perchik2-82/+116
1997-02-11 * itbl-ops.c, itbl-lex.l, itbl-parse.y, itbl-ops.h,Dawn Perchik1-0/+5
config/itbl-mips.h: Add copyright message and fix indentation.
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 * itbl-ops.c: New file. Add support for dynamically readDawn Perchik8-0/+1456
instruction registers, opcodes and formats. Build internal table for new instructions and provide callbacks for assembler and disassembler. * itbl-lex.l, itbl-parse.y: Lex and yacc parsers for instruction spec table. * itbl-ops.h: New file. Header file for itbl support. * config/itbl-mips.h: New file. Mips specific definitions for itbl support.
1997-02-11 * itbl-test.c: New file. Stand-alone assembler and dissassembler forDawn Perchik3-0/+104
itbl support.
1997-02-11 * gas/mips/itbl: New file. Instruction Spec for testing --itbl option.Dawn Perchik4-0/+33
* gas/mips/itbl.s: New file. Assembly with ne2w instructions specified in itbl.
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-10Add tic80 directory to keep_these_too or lose_these_too.Fred Fish1-0/+6
1997-02-10 * tic80.h (tic80_symbol_to_value): Change prototype to matchFred Fish2-1/+6
change in function, added class parameter.
1997-02-10 * tic80-opc.c (tic80_symbol_to_value): Changed to acceptFred Fish2-7/+31
a symbol class that restricts translation to just that class (general register, condition code, etc).
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-10 * emulparams/tic80coff.sh: New (dummy) file for TIc80.Fred Fish6-0/+64
* scripttempl/tic80coff.sc: New (dummy) file for TIc80. * Makefile.in (etic80coff.c): Add target and rule to build it. * configure.tgt (tic80-*-coff): Set targ_emul to tic80coff.
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-09Fix circular dependencyMichael Meissner2-1/+5
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-08 Changes to replace references to "prune_system_crud" withBob Manson3-15/+17
"prune_warnings".
1997-02-07 * elflink.h (elf_link_input_bfd): If we've discarded a section,Ian Lance Taylor2-2/+13
the output section will be the absolute section; don't print an assertion message for that case when doing a relocateable link. PR 11647.
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.