summaryrefslogtreecommitdiffstats
path: root/gdb/config/mn10300
Commit message (Collapse)AuthorAgeFilesLines
* * config/mn10300/mn10300.mt (TM_FILE): Delete.Andrew Cagney2001-08-122-73/+0
| | | | | | * configure.tgt: Add mn10300 to list of mulit-arch targets. * config/mn10300/tm-mn10300.h: Delete file. Move contents ... * mn10300-tdep.c: To here.
* * config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.Andrew Cagney2001-08-121-2/+0
| | | | | * mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and sp_regnum.
* * config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.Andrew Cagney2001-08-121-2/+0
| | | | * mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.
* * target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.Andrew Cagney2001-08-111-5/+0
| | | | | | | | | | | | | | | | | | | | * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add. * gdbarch.h, gdbarch.c: Regenerate. * arch-utils.h (legacy_virtual_frame_pointer): Declare. * arch-utils.c: Include "gdb_assert.h". (legacy_virtual_frame_pointer): Define. * Makefile.in (arch-utils.o): Depends on gdb_assert.h. * tracepoint.c (encode_actions): Make frame_reg an int. Make frame_offset a LONGEST. * ax-gdb.c (gen_frame_args_address): Ditto. (gen_frame_locals_address): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Initialize virtual_frame_pointer. (mn10300_virtual_frame_pointer): Make static. Update parameter list to match function signature. * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.
* Correct and expand handling of `movm' instruction, and registerJim Blandy2001-05-091-0/+17
| | | | | | | | | | | | | | saves in general. * config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM, MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions. (enum movm_register_bits): New enum. * mn10300-tdep.c (set_movm_offsets): Use symbolic names for the bits, not hex literals. Handle the `other', `exreg0', and `exother' bits. Correct handling of `exreg1': it saves r4, r5, r6, and r7, not r2, r3, r4, and r5. (saved_regs_size): New function. (mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead of computing the same thing inline, incorrectly.
* * mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specificJim Blandy2001-05-091-3/+0
| | | | | | | | | | | | stuff out into mn10300_pop_frame_regular, and use generic_pop_current_frame. This lets us share code, and also makes this function's prototype match that expected by gdbarch. Make this function static. (mn10300_pop_frame_regular): New function. (mn10300_gdbarch_init): Register mn10300_pop_frame as the gdbarch's pop_frame method. * config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition. (mn10300_pop_frame): Delete declaration.
* * config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): DeleteJim Blandy2001-05-091-2/+0
| | | | unused declaration.
* Use gdbarch for most target parameters for the MN10300, ratherJim Blandy2001-05-091-102/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | than the tm-*.h file. * config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_BYTES, FP_REGNUM, BREAKPOINT_FROM_PC, FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK, INNER_THAN, SAVED_PC_AFTER_CALL, INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS, FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC, EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS, STORE_RETURN_VALUE, STORE_STRUCT_RETURN, SKIP_PROLOGUE, FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, POP_FRAME, USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY, CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LOCATION, FIX_CALL_DUMMY, CALL_DUMMY_ADDRESS, TARGET_READ_FP, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME, SAVE_DUMMY_FRAME_TOS, PUSH_ARGUMENTS, PC_IN_CALL_DUMMY, REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER): Delete definitions. We register gdbarch methods for these now. (struct frame_info, struct type, struct value): Delete forward declarations of these types; they're no longer necessary, since we don't have function declarations here any more. * mn10300-tdep.c: #include "arch-utils.h", to get declarations for some default gdbarch methods. (mn10300_store_struct_return): Return void, as expected by gdbarch. (mn10300_init_extra_frame_info): Take initial `fromleaf' argument, as expected by gdbarch. (mn10300_frame_init_saved_regs): Provide dummy definition for this, as required by gdbarch. (mn10300_gdbarch_init): Add mn10300_call_dummy_words, as expected by gdbarch. Register gdbarch methods or values for all the stuff removed from tm-10300.h, listed above.
* Update/correct copyright notices.Kevin Buettner2001-03-061-1/+2
|
* 2001-03-02 Matt Hiller <hiller@redhat.com>Matthew Hiller2001-03-021-1/+1
| | | | * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
* Add formatted register info.Andrew Cagney2000-08-121-0/+6
| | | | | Convert more of mn10300 to multi-arch. Fix mips vs mn10300
* Enable multi-arch for the mn10300.Andrew Cagney2000-08-111-5/+4
|
* PARAMS removal.Kevin Buettner2000-05-281-15/+16
|
* import gdb-2000-02-01 snapshotJason Molenda2000-02-021-0/+1
|
* import gdb-1999-12-13 snapshotJason Molenda1999-12-141-1/+1
|
* import gdb-1999-09-08 snapshotStan Shebs1999-09-091-0/+2
|
* import gdb-1999-08-30 snapshotJason Molenda1999-08-311-2/+0
|
* import gdb-1999-07-07 post reformatJason Molenda1999-07-071-19/+20
|
* import gdb-1999-07-05 snapshotJason Molenda1999-07-051-0/+3
|
* import gdb-1999-06-14 snapshotJason Molenda1999-06-141-19/+11
|
* import gdb-1999-05-25 snapshotJason Molenda1999-05-251-2/+2
|
* import gdb-19990504 snapshotStan Shebs1999-05-051-1/+1
|
* import gdb-19990422 snapshotStan Shebs1999-04-261-3/+4
|
* Initial creation of sourceware repositoryStan Shebs1999-04-162-0/+171
|
* Initial creation of sourceware repositoryStan Shebs1999-04-163-234/+0
|
* am33 sanitize changesJeff Law1999-01-262-8/+8
|
* CARP:Andrew Cagney1998-12-131-1/+1
| | | | | | | | | | Re-do TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN, TARGET_ARCHITECTURE, TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_SELECTABLE_P, TARGET_BYTE_ORDER so that they can all be overriden. Document. Convert mn10300 and PPC targets.
* CARP: Mechanism to replace EXTRA_FRAME_INFO.Andrew Cagney1998-12-121-6/+1
| | | | | | | | | | | Add two pointers (saved_regs, extra_info) to struct frame_info. Introduce new macro FRAME_INIT_SAVED_REGS which replaces FRAME_FIND_SAVED_REGS. Document. Use in mn10300 and rs6000 targets. Fix side effects on ALPHA, MIPS, Z8K and SPARC targets.
* CARP:Andrew Cagney1998-12-101-5/+2
| | | | Rename REGISTER_NAMES{} -> REGISTER_NAME().
* CARP:Andrew Cagney1998-11-281-1/+1
| | | | Rewrite INNER_THAN so that it takes parameters.
* Tue Nov 24 15:46:33 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1998-11-241-0/+5
| | | | | | | | | | * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): new target macro. * mn10300-tdep.c (mn10300_virtual_frame_pointer): new function. * tracepoint.c (encode_actions): Use the new target macro to determine the virtual frame pointer, for collecting locals/args. (add_local_symbols, collect_symbol): add a register/offset pair of arguments so that the virtual frame pointer can be passed in.
* CARP: *BREAKPOINT*Andrew Cagney1998-11-241-7/+4
| | | | | | | Convert mn10300, MIPS and powerpc/rs6000 targets to use BREAKPOINT_FROM_PC Delete global variable memory_breakpoint_size. Use BREAKPOINT_FROM_PC instead.
* CARP: Convert macro definitions of USE_STRUCT_CONVENTION into targetAndrew Cagney1998-11-231-2/+2
| | | | specific functions.
* * config/mn10300/tm-mn10300.h (FP_REGNUM): Redefine to be aMark Alexander1998-09-031-2/+7
| | | | | | | | | | | | | | pseudo-register, not the same as a3. (D2_REGNUM, D3_REGNUM, A2_REGNUM, A3_REGNUM): Define. * mn10300-tdep.c (fix_frame_pointer): New function. (set_movm_offsets): Use register number macros instead of hard-coded constants. (mn10300_analyze_prologue): Fix to handle redefinition of FP_REGNUM. (mn10300_frame_chain): Fix to handle redefinition of FP_REGNUM; use register number macros instead of hard-coded constants; add missing parameter to call of mn10300_analyze_prologue. (mn10300_frame_saved_pc): Use register number macros instead of hard-coded constants.
* * mn10300-tdep.c (mn10300_generic_register_names): New variable.Jeff Law1998-07-092-2/+34
| | | | | | | | | | | | | | | | (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.
* * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS): TheJeff Law1997-04-251-2/+2
| | | | | | structure value address is found in $a0 now. * config/mn10200/tm-mn10200.h (EXTRACT_STRUCT_VALUE_ADDRESS): Likewise. Fixes some struct.exp failures.
* * config/mn10300/tm-mn10300.h (STORE_RETURN_VALUE): Pointers areJeff Law1997-04-241-2/+9
| | | | | | | | returned in $a0. (EXTRACT_RETURN_VALUE): Likewise. * mn10300-tdep.c (mn10300_analyze_prologue): Check for a return insn at "pc", not "fi->pc".
* * mn10300-tdep.c: Almost completely rewritten based on mn10200Jeff Law1997-04-091-21/+32
| | | | | | | | | | | | port. * config/mn10300/tm-mn10300.h: Likewise. === gdb Summary === # of expected passes 3890 # of unexpected failures 8 # of expected failures 39 # of unresolved testcases 1
* Committing sanitize changesGeoffrey Noer1997-02-021-2/+1
|
* Tue Jan 21 17:03:26 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1997-01-221-3/+6
| | | | | | | | | * mn10300-tdep.c: wrote/fixed implementations of mn10300_frame_chain, mn10300_init_extra_frame_info, mn10300_frame_saved_pc * config/mn10300/tm-mn10300.h: redefine INIT_EXTRA_FRAME_INFO and INIT_FRAME_PC macros Backtracing starting to work correctly.
* Thu Jan 16 14:10:41 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1997-01-161-1/+1
| | | | * config/mn10300/tm-mn10300.h: fix BREAKPOINT definition
* Tue Jan 14 16:01:06 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1997-01-151-5/+1
| | | | | | | | * mn10300-tdep.c: made a lot more generic, ripping out code from copied target (no more mn10300_scan_prologue, init_extra_frame_info, and mn10300_fix_call_dummy calls) * config/mn10300/tm-mn10300.h: undefine INIT_EXTRA_FRAME_INFO and INIT_FRAME_PC macros
* Fri Jan 3 14:20:05 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1997-01-031-11/+12
| | | | | | | | | * mn10300-tdep.c (mn10300_push_arguments): rewrote also removed code elsewhere that made use of RP_REGNUM * config/mn10300/tm-mn10300.h: ripped out RP_REGNUM, V0_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM (all not appropriate for mn10300 arch.), redefined SAVED_PC_AFTER_CALL, EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS, STORE_RETURN_VALUE
* small fixGeoffrey Noer1996-12-311-1/+1
|
* Tue Dec 31 15:19:32 1996 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1996-12-311-4/+2
| | | | * config/mn10300/tm-mn10300.h: more small register fixes
* add missing Do-last:Angela Marie Thomas1996-12-171-0/+2
|
* Mon Dec 9 17:34:05 1996 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1996-12-101-5/+11
| | | | | * config/mn10300/tm-mn10300.h: more small register fixes * mn10300-tdep.c: filled in from another target
* additional register stuffGeoffrey Noer1996-12-091-0/+4
|
* Mon Dec 9 00:14:49 1996 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1996-12-091-25/+12
| | | | | * config/mn10300/tm-mn10300.h: fix register names * mn10300-tdep.c: new skeleton tdep for mn10300
* fixed sanitize filesGeoffrey Noer1996-12-051-0/+32
|
OpenPOWER on IntegriCloud