aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2005-05-11 * config/djgpp/fnchange.lst: Add mappings for inttypes*.m4,Eli Zaretskii2-3/+16
ChangeLog-2004, reg-cris*.dat, dw2-intermix.*, semcris*-switch.c. Fix mappings for hilo-hazard-?.s.
2005-05-11 * elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signednessAndreas Schwab2-1/+6
warning.
2005-05-11Fix a typo in bunzip2..Eli Zaretskii1-1/+1
2005-05-11Update GDB versions and my email address.Eli Zaretskii2-5/+9
2005-05-112005-05-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-18/+43
* elf.c (_bfd_elf_make_section_from_shdr): Only check debug section if SEC_ALLOC isn't set.
2005-05-11merge from gccDJ Delorie5-21/+36
2005-05-11daily updateAlan Modra1-1/+1
2005-05-11*** empty log message ***gdbadmin1-1/+1
2005-05-10Update the address and phone number of the FSF organization.Nick Clifton69-117/+129
2005-05-10gas/Michael Matz5-4/+28
* frags.c (frag_grow): Don't be too greedy in allocating memory. * config/tc-hppa.c (pa_block): Check arguments to .block[z]. gas/testsuite/ * gas/hppa/parse/block1.s: Use official limit (0x3fffffff) for .block.
2005-05-10 * linux-s390-low.c (s390_breakpoint, s390_breakpoint_len): Define.Ulrich Weigand2-1/+49
(s390_get_pc, s390_set_pc, s390_breakpoint_at): New functions. (the_low_target): Add new members.
2005-05-10 PR binutils/886Hans-Peter Nilsson2-58/+66
* config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly. Handle label-without-colon before ordinary dot-pseudo as an ordinary label. Don't leak memory for label-without-colon alone on a line. Don't mmixal-munge operands for dot-pseudos.
2005-05-10 * gas/mmix/relax2.s: Drop ":" off label definitions.Hans-Peter Nilsson2-7/+17
2005-05-10Update the address and phone number of the FSF organizationNick Clifton200-236/+303
2005-05-10gas/Jan Beulich2-23/+24
2005-05-10 Jan Beulich <jbeulich@novell.com> * macro.c (get_any_string): Remove the two last parameters. Replace references to the former expand parameter by using macro_alternate. Simplify loop condition for checking for end-of-string. (get_string): Remove redunant call to sb_skip_white. (do_formals): Remove two last arguments to get_any_string. (macro_expand): Likewise. (expand_irp): Likewise.
2005-05-10gas/Jan Beulich2-4/+14
2005-05-10 Jan Beulich <jbeulich@novell.com> * read.c (s_macro): Move local variable 'local' to smaller scope. Call sb_kill on it when done.
2005-05-10 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.Alan Modra2-9/+10
(DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value. (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after DATA_SEGMENT_RELRO_END in script.
2005-05-102005-05-09 Kelley Cook <kcook@gcc.gnu.org>Kelley Cook7-47/+1079
* configure.in: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF. * acinclude.m4: Don't sinclude accross.m4. * config.in, configure, Makefile.in, doc/Makefile.in: Regenerate.
2005-05-102005-05-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+7
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): Don't use a removed section.
2005-05-102005-05-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+8
* ldmain.c (reloc_overflow): Use output_bfd if the symbol is defined in the ABS section.
2005-05-10daily updateAlan Modra1-1/+1