aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-05-14* vax-tdep.c (vax_return_value): Change type of readbuf andMark Kettenis2-2/+5
writebuf arguments to `gdb_byte *'.
2005-05-14* amd64-tdep.c (amd64_return_value): Change type of readbuf andMark Kettenis5-19/+31
writebuf arguments to `gdb_byte *'. Remove now redundant casts. * i386-tdep.c (i386_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (i386_pseudo_register_read, i386_pseudo_register_write): Change type of last argument to `gdb_byte *'. (i386_register_to_value, i386_value_to_register): Change type of last argument to `gdb_byte *'. Simplify function a bit. * i387-tdep.h (i387_value_to_register, i387_register_to_value): Change type of last argument to `gdb_byte *'. * i387-tdep.c: Likewise.
2005-05-14Remove XM_FILE.Eli Zaretskii1-2/+0
2005-05-142005-05-13 Andrew Cagney <cagney@gnu.org>Andrew Cagney8-51/+69
* gdbarch.sh (pseudo_register_read, pseudo_register_write) (value_to_register, register_to_value, pointer_to_address) (address_to_pointer, return_value, extract_return_value) (store_return_value): Instead of a void pointer, use gdb_byte. * gdbarch.h, gdbarch.c: Regenerate. * inferior.h (unsigned_address_to_pointer) (signed_pointer_to_address, address_to_signed_pointer) (unsigned_pointer_to_address): Update. * arch-utils.h (legacy_return_value): * arch-utils.c (legacy_extract_return_value) (legacy_return_value): Update. * findvar.c (unsigned_pointer_to_address) (signed_pointer_to_address, unsigned_address_to_pointer) (address_to_signed_pointer): Update.
2005-05-14include/elf/Alan Modra6-13/+29
* ppc.h (DT_PPC_GOT): Rename from DT_PPC_GLINK. bfd/ * elf32-ppc.c (ppc_elf_size_dynamic_sections): Set DT_PPC_GOT, not DT_PPC_GLINK. (ppc_elf_finish_dynamic_sections): Likewise. binutils/ * readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not DT_PPC_GLINK.
2005-05-14 2005-05-13 Fred Fish <fnf@specifixinc.com>Fred Fish2-2/+7
* readelf.c: Fix a couple of obvious comment typos, 'debug_str' -> 'debug_ranges' and proecess' -> 'process'.
2005-05-14Fix obvious typo in comment.Fred Fish3-2/+7
2005-05-13 Fred Fish <fnf@specifixinc.com> * libbfd-in.h: Fix a comment typo, 'neaderst' -> 'nearest' * libbfd.h: Rebuilt.
2005-05-14 * elf32-xtensa.c (xtensa_get_property_section_name): Add missingBob Wilson2-2/+7
periods in linkonce_kind values.
2005-05-14daily updateAlan Modra1-1/+1
2005-05-14*** empty log message ***gdbadmin1-1/+1
2005-05-132005-05-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* readelf.c (dump_ia64_unwind): Get stamp with proper size.
2005-05-13Revert accidentally committed change.Jim Blandy1-5/+5
2005-05-13* gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead ofJim Blandy5-9/+19
calling gdb_suppress_entire_file. * gdb.base/charset.exp: Same. * gdb.base/call-rt-st.exp: Same.
2005-05-13 * config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify errorBob Wilson2-9/+19
message. (xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional for handling RELAX_CHECK_ALIGN_NEXT_OPCODE.
2005-05-132005-05-13 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-3/+12
* cris-tdep.c (_initialize_cris_tdep): Improve help strings for cris-version, cris-mode, and cris-dwarf2-cfi settings.
2005-05-132005-05-13 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-9/+89
* cris-tdep.c (usr_cmd_cris_version): Change type to int. (cris_mode_normal, cris_mode_guru, cris_modes, usr_cmd_cris_mode): Add. (struct gdbarch_tdep): Change type of cris_version to int. Add cris_mode. (cris_mode, set_cris_mode): New functions. (crisv32_single_step_through_delay): Read from NRP register instead of ERP register in guru mode. (cris_breakpoint_from_pc): Rename break_insn to break8_insn. Add break15_insn, returned in guru mode. (_initialize_cris_tdep): Add call to add_setshow_enum_cmd for new cris-mode setting. (cris_dump_tdep): Add dump of cris_mode. (cris_gdbarch_init): Add cris_mode to search criteria for architecture. Register the sigtramp frame sniffer only if not in guru mode.
2005-05-13Update the address and telephone number of the FSF organizationNick Clifton24-26/+37
2005-05-13daily updateAlan Modra1-1/+1
2005-05-13*** empty log message ***gdbadmin1-1/+1
2005-05-12*** empty log message ***Eli Zaretskii1-0/+19
2005-05-12* sol-thread.c: Include "solib.h".Mark Kettenis3-4/+9
(sol_thread_attach): Use solib_add instead of SOLIB_ADD. * Makefile.in (sol-thread.o): Update dependencies.
2005-05-12 * Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.Eli Zaretskii5-31/+21
* go32-nat.c: Include top.h. Update copyright years. (init_go32_ops): Override the default value of gdbinit[] with "gdb.ini". * cli/cli-cmds.c (init_cli_cmds): Use gdbinit[] instead of a compile-time literal string GDBINIT_FILENAME. * top.c (PATH_MAX): Define if not defined. (gdbinit): Declare with a constant size PATH_MAX. * config/i386/go32.mh (XM_FILE): Remove. * config/i386/xm-go32.h: Remove file.
2005-05-12* NEWS: Mention OpenBSD/mips64 as a new native configuration.Mark Kettenis2-0/+8
2005-05-122005-05-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+6
* elf32-i386.c (elf_i386_relocate_section): Allow R_386_GOTOFF against protected function when building executable.
2005-05-12 * observer.sh (texi) [DJGPP]: If the file name includes a colon,Eli Zaretskii2-0/+12
convert it to the /dev/x/ form.
2005-05-12* solib.h (CLEAR_SOLIB, SOLIB_ADD)Mark Kettenis11-136/+143
(SOLIB_CREATE_INFERIOR_HOOK, SOLIB_REMOVE_INFERIOR_HOOK) (SOLIB_IN_DYNAMIC_LINKER, SOLIB_RESTART) (DISABLE_UNSETTABLE_BREAK, PC_SOLIB) (IN_SOLIB_DYNSYM_RESOLVE_CODE): Remove defines and orphaned comments. * breakpoint.c: Include "solib.h". (insert_bp_location) [!DISABLE_UNSETTABLE_BREAK]: Call solib_address. (remove_solib_event_breakpoints, create_solib_event_breakpoint) (disable_breakpoints_in_shlibs) (disable_breakpoints_in_unloaded_shlib) (re_enable_breakpoints_in_shlibs): Compile if SOLIB_ADD isn't defined. If PC_SOLIB isn't defined, call solib_address. (_initialize_breakpoint): Unconditionally install observer. * corelow.c: Include "solib.h". [SOLIB_ADD] (solib_add_stub): Remove prototype. (core_close) [!CLEAR_SOLIB]: Call clear_solib. (solib_add_stub) [!SOLIB_ADD] Call solib_add. (core_open): Unconditionally call solib_add_stub. * fork-child.c: Include "solib.h". (fork_inferior) [!SOLIB_CREATE_INFERIOR_HOOK]: Call solib_create_inferior_hook. * infcmd.c: Include "solib.h". (attach_command) [!SOLIB_ADD]: Call shlib_rescan. Unconditionally call re_enable_breakpoints_in_shlibs. * infrun.c: Include "solib.h". (SOLIB_IN_SYNSYM_RESOLVE_CODE): Don't define if not already defined. (stop_on_solib_events, show_stop_on_solib_events): Include unconditionally. (follow_exec) [!SOLIB_CREATE_INFERIOR_HOOK]: Call solib_create_inferior_hook. (handle_inferior_event) [!SOLIB_ADD]: Call shlib_add. [!IN_SOLIB_DYNSYM_RESOLVE_CODE]: Call in_solib_dynsym_resolve_code. (_initialize_infrun): Unconditionally add "stop_on_solib-events" command. * remote.c: Include "solib.h". (remote_open_1): Unconditionally call no_shared_libraries. [!SOLIB_CREATE_INFERIOR_HOOK] Call solib_create_inferior_hook. * stack.c: Include "solib.h". (print_frame) [!PC_SOLIB] Call shlib_for_pc. * xcoffsolib.c (no_shared_libraries): Remove function. * Makefile.in (SFILES): Add solib.c. (ALLDEPFILES): Remove solib.c. (COMMON_OBS): Add solib.o. (breakpoint.o, corelow.o, fork-chiled.o, infcmd.o, infrun.o) (remote.o, stack.o): Update dependencies.
2005-05-12merge from gccDJ Delorie2-1/+8
2005-05-12PR bootstrap/21230DJ Delorie2-1/+7
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add double quotes around GCC variable.
2005-05-12 * cp-names.y: Renamed to ...Daniel Jacobowitz3-10/+23
* cp-name-parser.y: ... this. * Makefile.in (SFILES, YYFILES, YYOBJ): Rename cp-names.y to cp-name-parser.y. (test-cp-names.o): Renamed to test-cp-name-parser.o. (test-cp-names): Renamed to test-cp-name-parser. (clean, local-maintainer-clean): Update. (cp-names.o): Renamed to cp-name-parser.o.
2005-05-12 * observer.sh: Use observer.tmp instead of observer.inc-tmp whichEli Zaretskii2-11/+16
on 8+3 filesystems overwrites observer.inc. Update copyright year of the resultant file.
2005-05-12 * gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor andEli Zaretskii2-2/+7
is_gnu_v3_mangled_ctor to avoid compiler warnings.
2005-05-12 * elf32-ppc.c (LWZU_0_X_11): Delete.Alan Modra2-38/+94
(B, LWZ_11_X_11, LWZ_11_X_30, MTCTR_11): Define. (ppc_elf_select_plt_layout): Set .got flags too. Formatting. (ppc_elf_size_dynamic_sections): Allocate space for .glink branch table. (ppc_elf_finish_dynamic_symbol): Point .plt entries into the branch table. (ppc_elf_finish_dynamic_sections): Adjust DT_PPC_GLINK value. Generate .glink branch table and updated stubs.
2005-05-12Add missing \n character to end of warning message created by the previous deltaNick Clifton1-1/+1
2005-05-122005-05-12 Orjan Friberg <orjanf@axis.com>Orjan Friberg6-1/+168
* target.h (struct target_ops): Add insert_watchpoint, remove_watchpoint, stopped_by_watchpoint, stopped_data_address function pointers for hardware watchpoint support. * linux-low.h (struct linux_target_ops): Ditto. * linux-low.c (linux_insert_watchpoint, linux_remove_watchpoint) (linux_stopped_by_watchpoint, linux_stopped_data_address): New. Add to linux_target_ops. * remote-utils.c (prepare_resume_reply): Add watchpoint information to reply packet. * server.c (main): Recognize 'Z' and 'z' packets.
2005-05-12 * gdb.texinfo (Startup): Fix last change. Treat gdb.ini like weEli Zaretskii2-11/+19
do with other non-standard names of init files.
2005-05-12If pointer_size has not been found then assume that it is 4 in order toNick Clifton2-4/+18
prevent a seg fault when process_extend_line_op attempts to read the line data.
2005-05-12 * config/djgpp/config.sed: Adapt to latest Autoconf.Eli Zaretskii3-11/+27
* config/djgpp/djconfig.sh: Add -Wpointer-arith and -Wuninitialized to the build warnings.
2005-05-12Update the address of the FSF organizationNick Clifton33-34/+45
2005-05-12Update FSF addressesNick Clifton133-157/+157
2005-05-122005-05-11 Eli Zaretskii <eliz@gnu.org>Ian Lance Taylor2-38/+52
* pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and sys/stat.h. (pex_init): Fix last argument to pex_init_common. (pex_djgpp_exec_child): Remove leading underscore from _open, _dup, _dup2, _close, and _spawnv/_spawnvp. Replace `program', which is undeclared, with `executable', which was unused. Remove unused variable `e'. Fix casting of last arg to spawnv/spawnvp. (pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
2005-05-12 * scripttempl/elfxtensa.sc: Sync up with elf.sc.Bob Wilson3-31/+73
* emulparams/elf32xtensa.sh (PLT, GOT): Define.
2005-05-12daily updateAlan Modra1-1/+1
2005-05-12*** empty log message ***gdbadmin1-1/+1
2005-05-11 * ld-undefined/undefined.exp: xfail xtensa-*-*.Bob Wilson2-0/+6
2005-05-11 * gdb.texinfo (Command Files): Move the description of the startupEli Zaretskii2-58/+99
from here... (Startup): ...to this new subsection of the Invocation chapter. Rearrange the description of init files more logically and add a cross-reference to "Command Files". Document the special gdbinit name for CISCO 68k. Expand the description of what GDB does during startup. (History): Add index entry for HISTSIZE.
2005-05-11 * readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.Alan Modra2-4/+23
(get_dynamic_type): Call the above.
2005-05-11 * config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,Alan Modra2-6/+35
BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S.
2005-05-11 * ldgram.y: Add SPECIAL token.Alan Modra7-13/+135
(sect_constraint): Handle SPECIAL. * ldlang.c (lang_output_section_find_1): Don't match SPECIAL. (map_input_to_output_sections): Likewise. * ldlex.l (SPECIAL): Define. * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT, GOT, PLT, GOTPLT): Define. * emultempl/ppc32elf.em (old_plt, old_got): New static vars. (ppc_after_open): New function. (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT. (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got". (PARSE_AND_LIST_OPTIONS): Document them. (PARSE_AND_LIST_ARGS_CASES): Handle them. (LDEMUL_AFTER_OPEN): Define. * scripttempl/elf.sc (PLT): Don't override existing define. (DATA_GOT, SDATA_GOT): Define and use to enable alternate got placement rather than using NO_SMALL_DATA. Emit GOTPLT for RELRO_NOW.
2005-05-11 * reloc.c (BFD_RELOC_HI16_PCREL): Define.Alan Modra6-65/+424
(BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL): Define. * elf32-ppc.c (GLINK_PLTRESOLVE, GLINK_ENTRY_SIZE): Define. (CROR_151515, CROR_313131): Delete. (ADDIS_11_11, ADDI_11_11, SUB_11_11_30, ADD_0_11_11, ADD_11_0_11, LWZ_0_4_30, MTCTR_0, LWZ_12_8_30, BCTR, ADDIS_11_30, LWZU_0_X_11): Define. (ppc_elf_howto_raw): Add R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI and R_PPC_REL16_HA entries. (ppc_elf_reloc_type_lookup): Convert new bfd reloc types. (ppc_elf_addr16_ha_reloc): Also handle R_PPC_REL16_HA. (struct ppc_elf_link_hash_table): Add glink, glink_pltresolve, new_plt, and old_plt. (ppc_elf_create_dynamic_sections): Create .glink section. (ppc_elf_check_relocs): Set new_plt and old_plt. (ppc_elf_select_plt_layout): New function. (ppc_elf_tls_setup): Set plt output section elf type and flags. (allocate_got): Handle differences between old and new got layout. (allocate_dynrelocs): Likewise for plt. (ppc_elf_size_dynamic_sections): Likewise. Allocate memory for .glink. Don't allocate memory for old bss .plt. Emit DT_PPC_GLINK. (ppc_elf_relax_section): Rename ppc_info to htab. Handle .glink destination of R_PPC_PLTREL24 relocs. (ppc_elf_relocate_section): Handle new relocs and changed destination of R_PPC_PLTREL24. (ppc_elf_finish_dynamic_symbol): Init new style plt and handle differences in layout. (ppc_elf_finish_dynamic_sections): Set DT_PPC_GLINK value. Don't put a blrl in new got. Write glink contents. * elf32-ppc.h (ppc_elf_select_plt_layout): Declare. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate.
2005-05-11 * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,Alan Modra2-9/+24
R_PPC_RELAX32PC_PLT) Adjust. (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, R_PPC_REL16_HA): Define. (DT_PPC_GLINK): Define.