aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2000-04-20* gdbarch.sh: Make multi-arch variable defaults, defaults for non-Andrew Cagney6-52/+36
multi-arch targets. (TARGET_BFD_VMA_BIT, IEEE_FLOAT, CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Update. * inferior.h (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Default provided by gdbarch. (CALL_DUMMY_P): Add FIXME. gdbarch should provide default. * valprint.c (IEEE_FLOAT): Default provided by gdbarch.
2000-04-19*** empty log message ***Jim Blandy1-0/+7
2000-04-19Bring RETURN_VALUE_ON_STACK under gdbarch's control.Jim Blandy6-7/+46
* gdbarch.sh (RETURN_VALUE_ON_STACK): New entry. * gdbarch.c, gdbarch.h: Regenerated. * arch-utils.c (default_return_value_on_stack): New function. * arch-utils.h (default_return_value_on_stack): New declaration. * values.c (RETURN_VALUE_ON_STACK): Delete default definition.
2000-04-19For real this time.Jim Blandy1-7/+6
* i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a two-dimensional array, instead of faking it with explicit index arithmetic.
2000-04-19I figured out what was going on.Jim Blandy1-120/+37
Since nobody had made any changes to i386v-nat.c on sourceware since the repository was started, we were still getting the version from the vendor branch. (If you don't understand how the vendor branch works, treasure your innocence.) I naively assumed that, to see what changes had been introduced in version 1.2, one should diff it with 1.1, as they say in TV Guide, "with hilarious results". This change simply restores i386v-nat.c to what it used to be before I started bungling around. The text of this revision should be identical to that of revision 1.1.1.3, which was the former head of the trunk. (Yes, 1.1.1.3 was the head of the trunk. As I said, treasure your innocence.)
2000-04-19My last commit introduced a bunch of mysterious whitespace changes; IJim Blandy1-42/+126
don't know where they came from. They weren't intentional, so this change reverts them.
2000-04-19*** empty log message ***Jim Blandy1-0/+9
2000-04-19* i386v-nat.c (i386_insert_nonaligned_watchpoint): Use aJim Blandy1-7/+6
two-dimensional array, instead of faking it with explicit index arithmetic.
2000-04-19* minsyms.c (prim_record_minimal_symbol_and_info): Doc fix.Jim Blandy1-1/+1
(Thanks to Guy Harris.)
2000-04-192000-04-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-1/+5
* xcoffsolib.c (solib_add): Fix call to vmap_symtab().
2000-04-19 * TODO: Update.Peter Schauer2-4/+4
2000-04-19Document -Wreturn-type problem.Andrew Cagney2-0/+13
2000-04-19From Peter Schauer: Add `mt i' alias for `mt info'.Andrew Cagney2-0/+5
2000-04-19From Peter Schauer: Add `info r' alias for `info registers'.Andrew Cagney2-0/+6
2000-04-19* bcache.c (free_bcache): Do not free NULL.Andrew Cagney2-1/+7
2000-04-19* TODO: Cleanup.Andrew Cagney3-94/+19
* NEWS: Update GDB version. Duplicate paragraph explaining obsolete.
2000-04-19Document real fix to problem of tui/Makefile not being deleted.Andrew Cagney2-0/+14
2000-04-18*** empty log message ***Jim Blandy1-0/+16
2000-04-18Add full set of cleanup rules.Andrew Cagney2-2/+10
2000-04-18Do not delete testcmds.Andrew Cagney2-1/+5
2000-04-172000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-1/+5
* gdb.base/help.exp: Update output for add-symbol-file command.
2000-04-172000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-8/+10
* gdb.texinfo (Files): Update description of add-symbol-file command.
2000-04-172000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni4-87/+31
* symfile.h (struct section_addr_info ): Remove fields for special treatment of .text, .data and .bss sections. * solib.c (symbol_add_stub): The special field text_addr is not available anymore. Search for the .text field the hard way. * symfile.c (build_section_addr_info_from_section_table): Don't fill in {text, data, bss}_addr any more. (default_symfile_offsets): Don't use {text, data, bss}_addr fields to fill in section_offsets for objfile. (syms_from_objfile): Don't deal with {text, data, bss}_addr as a special case anymore. (add_symbol_file_command): Ditto.
2000-04-172000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-45/+21
symfile.c: (symbol_file_command): Remove support for rombug, to simplify code.
2000-04-172000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-154/+133
* symfile.c (add_symbol_file_command): Rewrite the arguments processing part. Simplify syntax of command. Remove support for rombug. (_initialize_symfile): Update help message for add-symbol-file command.
2000-04-17Fixed incorrect date on the previous entry.Eli Zaretskii1-1/+1
2000-04-17 * gdb.texinfo (Porting GDB): Don't use @value in the node name, itEli Zaretskii2-1/+6
prevents the build (and is generally a Bad Idea).
2000-04-17 * gdb.texinfo (Protocol): Prevent makeinfo from complaining aboutEli Zaretskii2-8/+15
a comma inside @var. (Command Files): Index markup changes from Dmitry Sivachenko <dima@Chg.RU>.
2000-04-17Only dump IEEE_FLOAT when defined.Andrew Cagney3-1/+8
2000-04-17* remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.cAndrew Cagney9-157/+49
(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-16*** empty log message ***Jim Blandy1-0/+5
2000-04-16* findvar.c (store_typed_address, extract_typed_address): FixJim Blandy1-2/+2
function names in error messages.
2000-04-16 * Makefile.in (LN_S): Define.Eli Zaretskii3-4/+17
(gdb-cfg.texi, gdb.dvi, links2roff, inc-hist.texinfo): Don't invoke "ln -s" unless it is known to work. * configure.in (AC_PROG_LN_S): Add.
2000-04-16 * config/djgpp/config.sed: Fix the lines which edit clean: andEli Zaretskii2-1/+7
uninstall-info: targets.
2000-04-14Bring IEEE_FLOAT under gdbarch's control.Jim Blandy21-88/+124
* 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*** empty log message ***Jim Blandy2-0/+70
2000-04-14* gdbint.texinfo (Pointers Are Not Always Addresses): New manualJim Blandy1-0/+174
section. (Target Conditionals): Document ADDRESS_TO_POINTER, POINTER_TO_ADDRESS.
2000-04-14* gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two newJim Blandy18-69/+256
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-04-142000-04-13 Mark Kettenis <kettenis@gnu.org>Mark Kettenis6-332/+436
* acconfig.h (HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, HAVE_LWPID_T, HAVE_PSADDR_T): Add them here instead of in config.in. * acconfig.h (PRFPREGSET_T_BROKEN): New define. * configure.in: Add check for broken prfpregset_t type. * lin-thread.c (gdb_prfpregset): New typedef, depends on definition of PRFPREGSET_T_BROKEN. (ps_lgetfpregs, ps_lsetfpregs, p_td_thr_getfpregs, p_td_thr_setfpregs, thread_db_fetch_registers, thread_db_store_registers): Use gdb_prfpregset_t instead of prfpregset_t. * config.in: Regenerated. * configure: Regenerated.
2000-04-13* mips-tdep.c (do_fp_register_row): copy the number of bytesDJ Delorie2-2/+7
allocated, not the size of the pointer.
2000-04-13 * config/i386/nm-i386sol2.h (CANNOT_STEP_HW_WATCHPOINTS): Define.Peter Schauer4-4/+102
* config/i386/tm-i386sol2.h (HAVE_I387_REGS): Define. * i386v4-nat.c (supply_fpregset, fill_fpregset): Add code to handle floating point registers if NUM_FREGS is not zero.
2000-04-13 * sol-thread.c (init_sol_core_ops): Initialize to_thread_aliveNicholas Duffek2-0/+11
and document to_find_new_threads bug.
2000-04-13 * infrun.c (proceed, normal_stop): Change the error message aboutEli Zaretskii2-4/+14
failure to insert breakpoints/watchpoints so that it makes sense even if ptrace is not used or no other processes can be active.
2000-04-13Only re-generate copying.c when maintainer mode.Andrew Cagney5-321/+390
2000-04-13IA-64 watchpoint support.Kevin Buettner3-0/+215
2000-04-12 * go32-nat.c (go32_insert_hw_breakpoint): When there are no moreEli Zaretskii2-2/+9
hardware breakpoint resources, return EBUSY. (go32_handle_nonaligned_watchpoint): If the argument WHAT is not one of the enumerated values, return EINVAL.
2000-04-12 * README: Mention special build instructions for DJGPP.Eli Zaretskii3-0/+56
* NEWS: Update with FP features on x87 platforms, and DJGPP-related changes.
2000-04-12 * top.c (gdb_completer_file_name_break_characters): New variable.Eli Zaretskii2-0/+19
(line_completion_function): When completing on file names, use gdb_completer_file_name_break_characters as word break characters for the readline library.
2000-04-12Typos fixed (from Dmitry Sivachenko <dima@Chg.RU>).Eli Zaretskii1-7/+2
2000-04-12Changelog entry for gdbint.texinfo fixDaniel Berlin1-0/+5