aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-04-142000-04-14 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* common.h (ELFOSABI_TRUE64): Renamed to ELFOSABI_TRU64.
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-142000-04-14 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+17
* common.h (ELFOSABI_NETBSD): Defined. (ELFOSABI_HURD): Likewise. (ELFOSABI_SOLARIS): Likewise. (ELFOSABI_MONTEREY): Likewise. (ELFOSABI_IRIX): Likewise. (ELFOSABI_FREEBSD): Likewise. (ELFOSABI_TRUE64): Likewise.
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-14More portability patches. Include sysdep.h everywhere.Alan Modra47-256/+317
2000-04-14Portability fixes.Alan Modra6-12/+19
2000-04-14Zero start address of orphan ~(SEC_LOAD | SEC_ALLOC) sections.Alan Modra4-48/+51
2000-04-13Correct previous misapplied patch.Geoffrey Keating1-10/+9
2000-04-13* scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.Geoffrey Keating2-13/+39
Add new BSS_PLT variable for when .plt need not be contained in the file. Move _etext so that it is also after .fini, and provide both etext and _etext with a leading underscore. Mark the start and end of .sbss.
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-13* Makefile.in (gdb-taz): New target. GDB specific archive.Andrew Cagney2-18/+57
(do-md5sum): New target. (MD5PROG): Define. (PACKAGE): Default to TOOL. (VER): Default to a shell script. (taz): Rewrite target. Move real work to do-proto-toplev. Include md5 checksum generation. (do-proto-toplev): New target. Create $(PACKAGE)-$(VER) link. (do-tar-bz2): Delete creation of $(PACKAGE)-$(VER) link. (gdb.tar.bz2, dejagnu.tar.bz2, gdb+dejagnu.tar.bz2, insight.tar.bz2): Use gdb-taz to create archive.
2000-04-13Remove U suffix from constants for K&R compilers.Alan Modra11-35/+57
Fix a couple of 64 bit nits.
2000-04-12Apply patch to fix compuation of frag offsets for symbolsNick Clifton2-12/+38
2000-04-12Apply Andrew Cagney's patch to fix use of 'struct fix'.Nick Clifton3-3/+16
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-12Add workaround for gcc-2.95.2 failure.Alan Modra2-1/+10
2000-04-12(test4): Test for presence of foo__1B, not absenceAlan Modra2-9/+29
2000-04-12(test4): Delete incorrect foo__1B test. Reformat file.Alan Modra2-37/+36
2000-04-12Keep output orphan sections in the same order as input.Alan Modra4-97/+167
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-11Fix auto-dependency bug.Alan Modra4-21/+24
2000-04-11Allow address wrap for bitfields again.Alan Modra2-9/+17
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-11Fit 64-bit nits.Alan Modra4-7/+16
2000-04-11Remove extraneous paragraph.Alan Modra2-6/+4
2000-04-11Mods to allow compilation of BFD all targets.Timothy Wall7-14/+35
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-10Replace 'strftime' with 'sprintf'.Nick Clifton2-2/+17
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* arm abort fixFrank Ch. Eigler2-3/+8
2000-03-11 Philip Blundell <philb@gnu.org> * armemu.c (LoadSMult, LoadMult): Correct handling of aborts. Patch from Allan Skillman <Allan.Skillman@arm.com>.
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-10Fix 64-bit nits.Alan Modra2-64/+75
2000-04-10TODO, NEWS: Update. Mention MI.Andrew Cagney3-190/+168