aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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
2000-04-12GDB->@value{GDBN}Daniel Berlin1-210/+210
2000-04-122000-04-12 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2-2/+21
* i387-tdep.c (print_i387_value): Avoid call to floatformat_to_doublest if long double type is the same on host and target.
2000-04-112000-04-11 Fernando Nasser <fnasser@cygnus.com>Fernando Nasser3-28/+20
* wrapper.h: Remove definitions of internal functions. * wrapper.c: Remove definitions of exported functions (which are already in wrapper.h) and make static all internal wrap_* functions.
2000-04-11Cleanup USE_INCLUDED_REGEX. Move -D to acconfig.h.Andrew Cagney6-68/+84
2000-04-10Move arm_skip_solib_resolver from arm-linux-nat.c to arm-linux-tdep.c.Scott Bambrough3-126/+132
2000-04-10 Philip Blundell <philb@gnu.org> * arm-linux-nat.c (arm_skip_solib_resolver): Remove and move to arm-linux-tdep.c. * arm-linux-tdep.c (arm_skip_solib_resolver): New.
2000-04-10*** empty log message ***Jim Blandy1-0/+5
2000-04-10Use the three-argument form of @xref to get the references right.Jim Blandy1-6/+8
2000-04-10* gdbint.texinfo (Target Architecture Definition): Fix screwed-upJim Blandy1-6/+6
references to ``Using Different Register and Memory Data Representations''.
2000-04-102000-04-10 Fernando Nasser <fnasser@cygnus.com>Fernando Nasser2-1/+7
From 2000-04-10 Rodney Brown <rdb@redhat.com>: * command.h (enum command_class): Remove trailing "," to placate AIX xlc.
2000-04-102000-04-10 Fernando Nasser <fnasser@cygnus.com>Fernando Nasser2-2/+7
From Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2000-04-10TODO, NEWS: Update. Mention MI.Andrew Cagney3-190/+168
2000-04-09Rename gdbarch-utils.[hc] to arch-utils.[hc]Andrew Cagney5-7/+15
2000-04-09Rename gdbarch-utils.[hc] to arch-utils.[hc].Andrew Cagney2-12/+134
2000-04-092000-04-07 J.T. Conklin <jtc@redback.com>: lynx-nat.cAndrew Cagney2-10/+18
(fetch_inferior_registers, store_inferior_registers): replace calls to target_xfer_memory() with target_read_memory() and target_write_memory().
2000-04-09Compare VALUE_ADDRESS() return value with ZERO not NULL.Andrew Cagney2-1/+6
2000-04-08* dwarf2read.c: Revert Andrew Cagney's change of Dec 15, 1997.Jim Blandy3-33/+16
Don't include "bfd-elf.h". (address_significant_size): Delete variable. (dwarf2_build_psymtabs_hard): Don't set it, or check for consistency between it and the Dwarf 2 compilation unit header address size. (read_address): Don't mask off bits above address_significant_size. * Makefile.in (dwarf2read.o): Don't depend on $(elf_bfd_h). (elf_bfd_h): Remove variable; it's no longer used.
2000-04-08*** empty log message ***Jim Blandy1-0/+8
2000-04-08* gdbint.texinfo (Using Different Register and Memory DataJim Blandy1-0/+115
Representations): New section. (REGISTER_CONVERTIBLE, REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Document.
2000-04-08 * configure.in (NEW_PROC_API): Escape square brackets when testingPeter Schauer3-2/+8
for solaris2.[678]. * configure: Regenerate.
2000-04-08* gdb.base/call-ar-st.exp: Relax patterns matching tab characters.J.T. Conklin2-4/+6
2000-04-072000-04-07 J.T. Conklin <jtc@redback.com>J.T. Conklin2-2/+6
* gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2000-04-072000-04-07 Scott Bambrough <scottb@netwinder.org>Scott Bambrough6-8/+181
* ChangeLog: Correct date on last entry. * arm-linux-tdep.c (arm_linux_push_arguments): New function. * config/arm/tm-linux: Redefined PUSH_ARGUMENTS for Linux. * config/arm/tm-embed: Fix build warning from redefinition of LOWEST_PC. * config/arm/tm-arm.h: Remove TARGET_BYTE_ORDER_SELECTABLE. * config/arm/tm-wince.h: Remove TARGET_BYTE_ORDER_SELECTABLE and TARGET_BYTE_ORDER. Add TARGET_BYTE_ORDER_SELECTABLE_P to override default in tm-arm.h. Use default target byte order from tm-arm.h.
2000-04-072000-04-05 Scott Bambrough <scottb@netwinder.org>Scott Bambrough3-2/+12
* Makefile.in: Add dependency information for arm-linux-tdep.c. * config/djgpp/fnchange.lst: Add arm-linux-tdep.c, arm-linux-nat.c.
2000-04-07 * sol-thread.c (gdb_ps_addr_t): New typedef, depends on definitionPeter Schauer2-6/+15
of PROC_SERVICE_IS_OLD. (ps_pglobal_lookup, ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite, rw_common): Change argument type from psaddr_t to gdb_ps_addr_t.
2000-04-07When GCC always enable certain warnings.Andrew Cagney4-69/+76
Allow configure to set CFLAGS (-g -O2) when GCC.
2000-04-07From 2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:Andrew Cagney3-18/+10
* procfs.c (init_procfs_ops): Set procfs_ops.to_has_memory and procfs_ops.to_has_all_memory to 1.
2000-04-07ChangeLog forAndrew Cagney1-0/+5
/cvs/src/src/gdb/doc/gdb.texinfo,v <-- gdb.texinfo new revision: 1.13; previous revision: 1.12
2000-04-07Deprecate sequence-id's.Andrew Cagney1-29/+27
2000-04-07 * configure.in (_MSE_INT_H): Define on Solaris 7.Nicholas Duffek5-190/+214
(NEW_PROC_API): Define on Solaris 7 and 8 as well as 6. * acconfig.h (_MSE_INT_H): Define on Solaris 7. * configure: Regenerate. * config.in: Regenerate.
2000-04-07 * sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):Nicholas Duffek7-16/+109
Change to rely on PIDGET etc. * config/i386/nm-i386sol2.h (TARGET_HAS_WATCHPOINTS, TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT, target_[insert/remove]_watchpoint): define. Allow target to use procfs hardware watchpoints. * config/sparc/nm-sun4sol2.h: ditto. * config/i386/tm-i386sol2.h (PIDGET, TIDGET, MERGEPID): modify definitions to use 16 bits for the pid, 15 bits for the tid, and 1 bit for the flag. * config/sparc/tm-sun4sol2.h: ditto. (SOFTWARE_SINGLE_STEP, SOFTWARE_SINGLE_STEP_P): undefine. * testsuite/gdb.threads/pthreads.exp (all_threads_running): Allow for more than 15 thread increments.
2000-04-06 * top.c (filename_completer): Set subsequent_name to 1 early on,Eli Zaretskii2-1/+11
to prevent an infinite loop if the first file in the directory is a backup file.
2000-04-05*** empty log message ***Jim Blandy1-0/+7
2000-04-05* solib.c (update_solib_list): New function.Jim Blandy1-30/+54
(solib_add): Call update_solib_list, and then read symbols. (info_sharedlibrary_command): Call update_solib_list, not solib_add.
2000-04-052000-04-05 Scott Bambrough <scottb@netwinder.org>Scott Bambrough2-5/+12
* arm-linux-tdep.c: Resolve implicit function declarations by including target.h and value.h. Inclusion of symtab.h is no longer needed. * ChangeLog: Fix formatting of previous entry.