aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
AgeCommit message (Collapse)AuthorFilesLines
2000-04-17* remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.cAndrew Cagney1-73/+0
(MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT), target.h (BREAKPOINT_FROM_PC), valops.c (COERCE_FLOAT_TO_DOUBLE), gdbarch.sh (D10V_MAKE_DADDR, D10V_MAKE_IADDR, FRAMELESS_FUNCTION_INVOCATION, REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, REGISTER_NAME), findvar.c (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Delete default definition. Handled by gdbarch. * gdbarch.sh: Make multi-arch defaults, defaults for non- multi-arch targets. (REGISTER_NAME, COERCE_FLOAT_TO_DOUBLE, REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, D10V_MAKE_DADDR, D10V_MAKE_IADDR, BREAKPOINT_FROM_PC, MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT, REMOTE_TRANSLATE_XFER_ADDRESS, FRAMELESS_FUNCTION_INVOCATION): Provide default/legacy implementation. (REGISTER_NAMES, CALL_DUMMY): Allow legacy definition. * gdbarch.h, gdbarch.c: Re-generate.
2000-04-14Bring IEEE_FLOAT under gdbarch's control.Jim Blandy1-0/+8
* gdbarch.sh (IEEE_FLOAT): New entry. * gdbarch.c, gdbarch.h: Regenerated. * valprint.c (IEEE_FLOAT): Provide a default #definition for this. (print_floating): Use IEEE_FLOAT as if it were an expression; use the code specific to IEEE-format numbers whenever the value of IEEE_FLOAT is non-zero. * config/a29k/tm-a29k.h, config/alpha/tm-alpha.h, config/arc/tm-arc.h, config/arm/tm-arm.h, config/fr30/tm-fr30.h, config/h8300/tm-h8300.h, config/i386/tm-i386.h, config/i960/tm-i960.h, config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, config/sparc/tm-sparc.h, config/delta/tm-delta.h, config/frv/tm-frv.h (IEEE_FLOAT): For all ports that #define IEEE_FLOAT, make sure they give it the value (1).
2000-04-14* gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two newJim Blandy1-0/+18
functions which architectures can redefine, defaulting to generic_pointer_to_address and generic_address_to_pointer. * findvar.c (extract_typed_address, store_typed_address, generic_pointer_to_address, generic_address_to_pointer): New functions. (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Provide default definitions. (extract_address, store_address): Doc fixes. * values.c (value_as_pointer): Doc fix. (value_from_pointer): New function. * defs.h (extract_typed_address, store_typed_address): New declarations. * inferior.h (generic_address_to_pointer, generic_pointer_to_address): New declarations. * value.h (value_from_pointer): New declaration. * ax-gdb.c (const_var_ref): Use value_from_pointer, not value_from_longest. * blockframe.c (generic_push_dummy_frame): Use read_pc and read_sp, not read_register. * c-valprint.c (c_val_print): Use extract_typed_address instead of extract_address to extract vtable entries and references. * cp-valprint.c (cp_print_value_fields): Use value_from_pointer instead of value_from_longest to extract the vtable's address. * eval.c (evaluate_subexp_standard): Use value_from_pointer instead of value_from_longest to compute `this', and for doing pointer-to-member dereferencing. * findvar.c (read_register): Use extract_unsigned_integer, not extract_address. (read_var_value): Use store_typed_address instead of store_address for building label values. (locate_var_value): Use value_from_pointer instead of value_from_longest. * hppa-tdep.c (find_stub_with_shl_get): Use value_from_pointer, instead of value_from_longest, to build arguments to __d_shl_get. * printcmd.c (set_next_address): Use value_from_pointer, not value_from_longest. (x_command): Use value_from_pointer, not value_from_longest. * tracepoint.c (set_traceframe_context): Use value_from_pointer, not value_from_longest. * valarith.c (value_add, value_sub): Use value_from_pointer, not value_from_longest. * valops.c (find_function_in_inferior, value_coerce_array, value_coerce_function, value_addr, hand_function_call): Same. * value.h (COERCE_REF): Use unpack_pointer, not unpack_long. * values.c (unpack_long): Use extract_typed_address to produce addresses from pointers and references, not extract_address. (value_from_longest): Use store_typed_address instead of store_address to produce pointer and reference values.
2000-03-30gdbarch cleanups.Andrew Cagney1-2/+2
2000-03-21* gdbarch.sh: Emit a definition and declaration for gdbarch_free,Jim Blandy1-0/+4
a companion to gdbarch_alloc, which allows a gdbarch init function to free partially-built gdbarch structures. * gdbarch.c, gdbarch.h: Regenerated.
2000-02-23Re-sync with ../include/dis-asm.h - LEN param changed to unsigned int.Andrew Cagney1-1/+1
2000-02-22Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.Jim Blandy1-0/+9
* valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be more function-like. (default_coerce_float_to_double, standard_coerce_float_to_double): New functions. (value_arg_coerce): Adjust for new definition. * value.h (default_coerce_float_to_double, standard_coerce_float_to_double): New declarations for the above. * gdbarch.sh (coerce_float_to_double): New entry, replacing macro. * gdbarch.c, gdbarch.h: Regenerated. * tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h, tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change definitions. * mips-tdep.c (mips_coerce_float_to_double): Supply our own custom function here. (mips_gdbarch_init): Install that as our coerce_float_to_double function.
1999-12-14import gdb-1999-12-13 snapshotJason Molenda1-0/+8
1999-10-26import gdb-1999-10-25 snapshotJason Molenda1-0/+6
1999-10-19import gdb-1999-10-18 snapshotJason Molenda1-0/+18
1999-08-31import gdb-1999-08-30 snapshotJason Molenda1-234/+244
1999-08-23import gdb-1999-08-23 snapshotJason Molenda1-1/+0
1999-08-09import gdb-1999-08-09 snapshotJason Molenda1-3/+3
1999-07-19import gdb-1999-07-19 snapshotJason Molenda1-258/+259
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-268/+270
1999-06-14import gdb-1999-06-14 snapshotJason Molenda1-3/+906
1999-06-07import gdb-1999-06-07 snapshotJason Molenda1-0/+20
1999-06-01import gdb-1999-06-01 snapshotJason Molenda1-0/+11
1999-05-25import gdb-1999-05-25 snapshotJason Molenda1-0/+15
1999-05-05import gdb-19990504 snapshotStan Shebs1-2/+2
1999-04-26import gdb-19990422 snapshotStan Shebs1-1/+15
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+118
1999-04-16Initial creation of sourceware repositoryStan Shebs1-298/+0
1998-12-18CARP:Andrew Cagney1-5/+14
Pass gdbarch_info by value to the arch init function. Review doco. Update mips-tdep.c
1998-12-16CARP:Andrew Cagney1-0/+171
Add multi-arch code!
1998-12-16* gdbarch.c (show_architecture): Use TARGET_ARCHITECTURE.Andrew Cagney1-3/+12
* gdbarch.h, gdbarch.c: Fix typo's. Use struct's in preference to types. * gdbarch.h, gdbarch.c (gdbarch_debug): Add ``set archdebug'' to command set.
1998-12-14CARP:Andrew Cagney1-0/+109
Consolidate the semi-dynamic target system dependant GDB parameters moving them all into a new file.