aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
AgeCommit message (Collapse)AuthorFilesLines
2002-01-21Approved by fnasser@redhat.com:Fred Fish1-0/+4
2002-01-21 Fred Fish <fnf@redhat.com> * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue when we have found all instructions we are looking for.
2002-01-21* arm-tdep.c (arm_register_name): New function.Richard Earnshaw1-1/+8
(arm_registers_names): Make static. * config/arm/tm-arm.h (arm_register_names): Delete declaration. (arm_register_name): Declare. (REGISTER_NAME): Use it.
2002-01-21Richard Earnshaw <rearnsha@arm.com>Richard Earnshaw1-73/+119
and Kevin Buettner <kevinb@redhat.com> Convert arm targets to new FRAME interface. * arm-tdep.c (struct frame_extra_info): Remove fsr. (arm_frame_find_save_regs): Delete. (arm_frame_init_saved_regs): New. (arm_init_extra_frame_info): Alloacte saved_regs as required. Allocate extra_info as required. Convert all uses of fsr.regs to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields to use extra_info. (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. (check_prologue_cache, save_prologue_cache): Likewise. (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. (FRAME_FIND_SAVED_REGS): Delete. (arm_frame_find_saved_regs): Delete prototype. (arm_frame_init_saved_regs): New prototype. (FRAME_INIT_SAVED_REGS): Define.
2002-01-09MAINTAINERS (write-after-approval): Add myself.Richard Earnshaw1-1/+1
arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to IN_SIGTRAMP.
2002-01-05s/BIG_ENDIAN/BFD_ENDIAN_BIG/Andrew Cagney1-6/+6
2001-12-20 * arm-tdep.c (arm_scan_prologue): Don't require "mov ip, sp"Kevin Buettner1-69/+75
to be the first instruction in the prologue. Also, revise the way the frame offset is computed for frameless functions.
2001-12-20Fix some ARM call dummy problems.Kevin Buettner1-45/+57
2001-12-192001-12-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-3/+8
* corefile.c (do_captured_read_memory_integer, safe_read_memory_integer): New functions. * gdbcore.h (safe_read_memory_integer): Export. * arm-tdep.c (arm_scan_prologue): Use safe_read_memory_integer, to read the frame value, to capture calls to error().
2001-12-192001-12-19 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-4/+2
* config/arm/tm-arm.h: Properly define SOFTWARE_SINGLE_STEP_P. Always define SOFTWARE_SINGLE_STEP. * config/arm/tm-embed.h: Properly define SOFTWARE_SINGLE_STEP_P. * arm-tdep.c (arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Always compile these functions. (arm_software_single_step): Fix second argument in function calls.
2001-12-172001-12-17 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-0/+28
From Richard Earnshaw <rearnsha@arm.com>: * arm-tdep.c (arm_software_single_step): New function. Implements software single-stepping for ARM targets. (arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Only needed for software single-stepping. * config/arm/tm-arm.h: Activate SOFTWARE_SINGLE_STEP_P.
2001-12-05 * arm-tdep.c (arm_skip_prologue): Always skip prologue by scanningCorinna Vinschen1-4/+13
the prologue if source is assembler.
2001-11-30Define SVR4 link map offset fetcher for Linux/ARM.Kevin Buettner1-0/+44
2001-11-14* arm-tdep.c (arm_register_type): New function.Andrew Cagney1-34/+14
(arm_register_convertible): Delete. (arm_register_convert_to_virtual): Delete. (arm_register_convert_to_raw): Delete. * config/arm/tm-arm.h (REGISTER_CONVERTIBLE): Delete. (REGISTER_CONVERT_TO_VIRTUAL): Delete. (REGISTER_CONVERT_TO_RAW): Delete. (REGISTER_VIRTUAL_TYPE): Redefine as call to arm_register_type. (arm_register_type): Declare.
2001-10-21Add explicit #include of "value.h".Andrew Cagney1-0/+1
2001-08-21* arm-tdep.c (convert_from_extended, convert_to_extended): DeleteAndrew Cagney1-62/+23
assembler version of function. (convert_from_extended, convert_to_extended): Rewrite. Use floatformat_to_doublest, floatformat_from_doublest, floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword. (arm_push_arguments): Use extract_floating and store_floating to perform floating point conversions. (SWAP_TARGET_AND_HOST): Delete macro. * arm-linux-tdep.c (arm_linux_push_arguments): Use extract_floating and store_floating to perform floating point conversions.
2001-08-01* defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)Andrew Cagney1-0/+1
(HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT, DOUBLEST) (floatformat_to_doublest, floatformat_from_doublest) (floatformat_is_negative, floatformat_is_nan) (floatformat_mantissa, store_floating) (extract_floating): Move declaration from here. * doublest.h: To here. New file. * utils.c (get_field, floatformat_to_doublest, put_field) (ldfrexp, floatformat_from_doublest, floatformat_is_negative) (floatformat_is_nan, floatformat_mantissa) (FLOATFORMAT_CHAR_BIT): Move from here. * doublest.c: To here. New file. * findvar.c (store_floating, extract_floating): Move from here. * doublest.c: To here. * Makefile.in (SFILES): Add doublest.c. (COMMON_OBS): Add doublest.o. (doublest.o): Specify dependencies. (doublest_h): Define. * config/m88k/tm-m88k.h: Include "doublest.h". * config/i960/tm-i960.h: Ditto. * config/i386/tm-symmetry.h: Ditto. * rs6000-tdep.c, valarith.c: Ditto. * valprint.c, stabsread.c, sh-tdep.c: Ditto. * ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto. * values.c, arm-tdep.c, arm-linux-tdep.c: Ditto. * alpha-tdep.c, ax.h, expression.h: Ditto. * sh-tdep.c, parse.c, top.c, value.h: Ditto. * Makefile.in (arm-tdep.o): Add $(doublest_h). (i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto. (rs6000-tdep.o, stabsread.o, valarith.o): Ditto. (values.o, valprint.o, arm-linux-tdep.o): Ditto. (alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto. (parser_defs_h): Ditto. (expression_h): Add $(doublest_h) and $(symtab_h).
2001-07-15s/value_ptr/struct value */Andrew Cagney1-2/+2
2001-03-06Update/correct copyright notices.Kevin Buettner1-2/+2
2001-03-01Create new file regcache.h. Update all uses.Andrew Cagney1-2/+3
2001-02-19 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.Jonathan Larmour1-2/+2
(save_prologue_cache): Ditto.
2000-09-06Wed Sep 6 23:15:43 2000 Andrew Cagney <cagney@b1.cygnus.com>Andrew Cagney1-3/+8
* remote-rdi.c (voiddummy): Update function signature to match struct Dbg_HostosInterface's reset method. * remote-rdp.c (rdp_step): Fix handle parameter to remote_rdp_insert_breakpoint and remote_rdp_remove_breakpoint. * arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS_P): Provide default definition. (arm_init_extra_frame_info): Use.
2000-09-06Add support for backtracing through signal handlers on Linux/ARM. Also,Kevin Buettner1-14/+102
make prologue scanning code somewhat less naive about optimized code on GNU/Linux/ARM.
2000-06-08Change signature of function add_set_enum_cmd() so that it usesAndrew Cagney1-5/+7
constant character pointers. Update everything. As a consequence fix infrun's follow-fork plugging a small memory leak.
2000-05-16Fix signature of add_set_enum_cmd. Change VAR parameter to char**.Andrew Cagney1-1/+1
Cleanup signature of add_set_cmd. Change VAR parameter to void*.
2000-03-24 * arm-tdep.c (thumb_skip_prologue): Take function end addr argumentJonathan Larmour1-3/+3
so that we can stop searching for the prologue past the function end (arm_skip_prologue): Call thumb_skip_prologue with function end addr
2000-02-29Include <ctype.h> for isupper().Andrew Cagney1-0/+1
2000-02-172000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>Fernando Nasser1-10/+1
* arm-tdep.c: Use header file instead of extern declarations for the {get,set}_arm_regname* functions.
2000-02-162000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>Fernando Nasser1-95/+136
* arm-tdep.c (set_disassembly_flavor, arm_othernames, _initialize_arm_tdep): Allows the user to choose between any of the flavors available for the disassembly to be used in the "info reg" command and elsewhere in gdb. It prevents having to maintain this information in two places by using the data kept in the opcodes directory.
2000-02-05import gdb-2000-02-04 snapshotJason Molenda1-2/+8
2000-02-03import gdb-2000-02-02 snapshotJason Molenda1-12/+67
2000-02-01import gdb-2000-01-31 snapshotJason Molenda1-46/+107
1999-12-22import gdb-1999-12-21 snapshotJason Molenda1-449/+555
1999-11-02import gdb-1999-11-01 snapshotJason Molenda1-2/+2
1999-08-31import gdb-1999-08-30 snapshotJason Molenda1-13/+18
1999-08-16import gdb-1999-08-16 snapshotJason Molenda1-5/+2
1999-08-09import gdb-1999-08-09 snapshotJason Molenda1-98/+272
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-381/+406
1999-06-28import gdb-1999-06-28 snapshotJason Molenda1-30/+42
1999-05-25import gdb-1999-05-25 snapshotJason Molenda1-0/+13
1999-04-26import gdb-19990422 snapshotStan Shebs1-4/+6
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+1626
1999-04-16Initial creation of sourceware repositoryStan Shebs1-1583/+0
1998-11-23CARP: Convert macro definitions of USE_STRUCT_CONVENTION into targetAndrew Cagney1-27/+71
specific functions.
1998-09-01Modifications/fixes to support the ARM/ELF port.Zdenek Radouch1-124/+1070
1996-04-05 * arm-xdep.c: Move native-specific code to here from arm-tdep.c.Stan Shebs1-360/+465
* arm-tdep.c (arm_apcs_32): New global. (arm_addr_bits_remove, arm_saved_pc_after_call, arm_push_dummy_frame, arm_pop_frame): New functions. (arm_skip_prologue): Updated version from Richard Earnshaw. (_initialize_arm_tdep): Add set/show "apcs32". * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call arm_addr_bits_remove. (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call. (frame_find_saved_regs): Declare properly. (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame. (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of explicit mask. * config/arm/nm-arm.h: New file. * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS): Move definitions to nm-arm.h. * config/arm/arm.mh (NAT_FILE): Define. PR 8941
1995-08-01* configure.in: Check for working mmap, ansi headers, string.h,J.T. Conklin1-2/+2
strings.h, and memory.h. * configure: Regenerated. * gdb_stat.h: New file, "portable" <sys/stat.h>. * gdb_string.h: New file, "portable" <string.h>. * altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c, convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c, gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c, i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c, mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c, rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c, symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c, ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h" instead of <sys/stat.h>. * alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c, ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c, core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c, dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c, exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c, fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c, inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c, m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c, monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c, printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c, remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c, remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c, remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c, remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c, remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c, solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c, symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c, valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include "gdb_string.h" instead of <string.h>. * gdbtk.c: Likewise. * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h, sparc/xm-sun4os4.h (HAVE_MMAP): Removed. * config/xm-lynx.h, config/i386/xm-ptx.h, config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h, config/mips/xm-irix3.h, config/mips/xm-mips.h, config/mips/xm-news-mips.h, config/mips/xm-riscos.h, config/pa/hppah.h, config/rs6000/xm-rs6000.h, config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h, config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h, config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed. * config/mips/xm-irix3.h, config/mips/xm-mips.h, config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
1995-05-24Wed May 24 15:49:47 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-13/+95
* arm-tdep.c (convert_from_extended, convert_to_extended): New. * coffread.c (enter_linenos): Return if linetab 0. * config/arm/arm.mt (TDEPFILES): Add simulator support. * config/arm/tm-arm.h (FRAME_FIND_SAVED_REGS): Fix prototypes.
1991-03-28Initial revisionK. Richard Pixley1-0/+406