aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-05-26 * alpha.c, basic_blocks.c, basic_blocks.h, bb_exit_func.c,Ben Elliston38-394/+236
call_graph.c, call_graph.h, cg_arcs.c, cg_arcs.h, cg_dfn.c, cg_dfn.h, cg_print.c, cg_print.h, corefile.c, corefile.h, gmon_io.c, gmon_io.h, gprof.c, gprof.h, hertz.h, hist.c, hist.h, i386.c, mips.c, search_list.c, search_list.h, source.c, source.h, sparc.c, sym_ids.c, sym_ids.h, symtab.c, symtab.h, tahoe.c, utils.c, utils.h, vax.c, gen-c-prog.awk: Convert K&R C to ANSI C.
2004-05-26 * corefile.c (core_init): Use a separate local variable,Ben Elliston4-78/+47
core_sym_bytes, to make the units from bfd_get_symtab_upper_bound more obvious. (core_create_function_syms): Discard cbfd argument. Eliminate `offset' variable and calculate VMA directly. Update all users. * corefile.h (core_create_function_syms): Update prototype. (core_create_line_syms): Likewise. * gprof.c (main): Remove #ifdef PROF_SUPPORT_IMPLEMENTED code. Tidy.
2004-05-262004-05-25 Randolph Chung <tausq@debian.org>Randolph Chung2-10/+16
* hppa-tdep.c (hppa_fallback_frame_cache): Handle stack adjustment, and multiple stack unwinds. (hppa_stub_unwind_sniffer): Handle unwind from pc == 0.
2004-05-26*** empty log message ***gdbadmin1-1/+1
2004-05-26daily updateAlan Modra1-1/+1
2004-05-252004-05-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-53/+19
* symfile.h (symbol_file_add_from_memory): Delete declaration. * symfile-mem.h: Delete file. * symfile-mem.c: Do not include "symfile-mem.h". (symbol_file_add_from_memory): Make static. Use "struct bfd" and "struct bfd_section". When an error do not bother returning NULL. (add_symbol_file_from_memory_command): Use "struct bfd" and "struct bfd_section". * Makefile.in (symfile_mem_h): Delete. (symfile-mem.o): Update dependencies.
2004-05-25* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)DJ Delorie3-1562/+1339
(STAGE_HOST_EXPORTS, BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS) (NORMAL_TARGET_EXPORTS): New macros. Use them in all the recursive targets. * Makefile.in: Regenerate.
2004-05-25merge from gccDJ Delorie2-0/+7
2004-05-25New file.Nick Roberts1-0/+568
2004-05-25*** empty log message ***Nick Roberts1-0/+4
2004-05-252004-05-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-4/+22
* inftarg.c: Include "observer.h". (child_attach, child_create_inferior): Notify inferior_created. * corelow.c: Include "observer.h". (core_open): Notify inferior_created. * Makefile.in (inftarg.o, corelow.o): Update dependencies.
2004-05-252004-05-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney30-63/+105
* target.h (struct target_ops): Add from_tty to to_create_inferior. (target_create_inferior, find_default_create_inferior): Update. * infcmd.c (run_command): Update. * wince.c (child_create_inferior): Update. * win32-nat.c (child_create_inferior): Update. * uw-thread.c (uw_thread_create_inferior): Update. * thread-db.c (thread_db_create_inferior): Update. * target.c (debug_to_create_inferior) (find_default_create_inferior): Update. (maybe_kill_then_create_inferior): Update. * sol-thread.c (sol_thread_create_inferior): Update. * remote.c (extended_remote_async_create_inferior) (extended_remote_create_inferior): Update. * remote-vx.c (vx_create_inferior): Update. * remote-st.c (st2000_create_inferior): Update. * remote-sim.c (gdbsim_create_inferior): Update. * remote-sds.c (sds_create_inferior): Update. * remote-rdp.c (remote_rdp_create_inferior): Update. * remote-rdi.c (arm_rdi_create_inferior): Update. * remote-m32r-sdi.c (m32r_create_inferior): Update. * remote-e7000.c (e7000_create_inferior): Update. * procfs.c (procfs_create_inferior): Update. * ocd.c (ocd_create_inferior): Update. * ocd.h (ocd_create_inferior): Update. * nto-procfs.c (procfs_create_inferior): Update. * monitor.c (monitor_create_inferior): Update. * lin-lwp.c (lin_lwp_create_inferior): Update. * inftarg.c (child_create_inferior): Update. * hpux-thread.c (hpux_thread_create_inferior): Update. * gnu-nat.c (gnu_create_inferior): Update.
2004-05-252004-05-25 Andrew Cagney <cagney@gnu.com>Andrew Cagney2-2/+6
* MAINTAINERS: Update e-mail address.
2004-05-25bfd/Alan Modra12-129/+172
* elflink.c (elf_link_add_object_symbols): Don't set up merge section data here.. * elf.c (_bfd_elf_merge_sections): .. Do it here instead. * merge.c: Formatting. Remove unnecessary casts. Expand bfd_get_section_alignment macro. (struct sec_merge_sec_info): Rename "first" to "first_str". Update use throughout file. (_bfd_add_merge_section): Rename from _bfd_merge_section. Update comment. Abort on dynamic or non-SEC_MERGE input. Don't test section name to determine sinfo group, instead test output section and alignment. (_bfd_merge_sections): Add struct bfd_link_info param. Call _bfd_strip_section_from_output rather than just twiddling flags. * libbfd-in.h (_bfd_add_merge_section): Rename, update comment. (_bfd_merge_sections): Update prototype. * libbfd.h: Regenerate. ld/ * ldlang.c (lang_process): Call bfd_merge_sections later, and only when not a relocatable link. (print_input_section): Handle SEC_EXCLUDE sections. (size_input_section): Don't update dot on SEC_EXCLUDE sections. (lang_do_assignments_1): Likewise. * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections. * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. * emultempl/hppaelf.em (build_section_lists): Likewise. * emultempl/ppc64elf.em (build_toc_list): Likewise. (build_section_lists): Likewise.
2004-05-252004-05-24 Randolph Chung <tausq@debian.org>Randolph Chung3-0/+53
* gdb.asm/asm-source.exp: Enable test for hppa-linux target. * gdb.asm/pa.inc: New file.
2004-05-252004-05-24 Randolph Chung <tausq@debian.org>Randolph Chung2-24/+7
* thread.c (info_threads_command, thread_apply_all_command) (thread_apply_command, thread_command, do_captured_thread_select): Remove HPUXHPPA-specific code.
2004-05-252004-05-24 Randolph Chung <tausq@debian.org>Randolph Chung3-7/+7
* hppa-tdep.c (SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Remove unused symbols. * hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Remove, since there are no more references.
2004-05-25*** empty log message ***gdbadmin1-1/+1
2004-05-25daily updateAlan Modra1-1/+1
2004-05-24 * gdb.texinfo (Starting): Document new start command.Joel Brobecker2-0/+40
2004-05-24 * infcmd.c (kill_if_already_running): New function, extractedJoel Brobecker2-6/+55
from run_command(). (run_command): Replace extracted code by call to kill_if_already_running(). (start_command): New function. (_initialize_infcmd): Add "start" command.
2004-05-24* netbsd-core.c: Correctly indent section that sets architectureMark Kettenis2-51/+54
from machine ID.
2004-05-24Add OpenBSD/m88k support.Mark Kettenis11-1/+1101
* NEWS (New native configurations): Mention OpenBSD/m88k. * m88k-tdep.c, m88k-tdep.h, m88kbsd-nat.c, config/m88k/nm-obsd.h, config/m88k/obsd.mh, config/m88k/obsd.mt: New files. * Makefile.in (m88k_tdep_h): New variable. (ALLDEPFILES): Add m88k-tdep.c and m88kbsd-nat.c. (m88kbsd-nat.o, m88k-tdep.o): New dependencies. * configure.host: Add m88*-*-openbsd*. * configure.tgt: Add m88*-*-openbsd*.
2004-05-24* MAINTAINERS (tracing bytecode stuff): Allow global maintainersJim Blandy2-0/+6
to approve changes.
2004-05-24 * symtab.c (fixup_section): Search section table when lookup byKevin Buettner2-0/+61
name fails.
2004-05-24Really add this file.Mark Kettenis1-0/+33
2004-05-242004-05-24 Randolph Chung <tausq@debian.org>Randolph Chung2-1/+6
* hppa-tdep.c: Fix handling of 8-byte structures; they should not be "small_struct".
2004-05-24Add support for an m88k-openbsd targetNick Clifton9-337/+984
2004-05-24Reorganise m68k instruction decoding and improve handling of MAC/EMACNick Clifton11-10609/+10812
2004-05-242005-05-24 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini6-411/+555
* configure.in: Test the ability to symlink directories. * configure: Regenerate. * Makefile.def (bootstrap-stage): New definitions. * Makefile.tpl (configure-stage1-gcc, configure-stage2-gcc, configure-stage3-gcc, all-stage1-gcc, all-stage2-gcc, all-stage3-gcc, new-bootstrap, new-cleanstrap, new-restage1, new-restage2, new-restage3, compare): Autogenerate, see Makefile.in entry for behavioral changes. (distclean-stage1, new-stage1-start, new-stage1-end, new-stage1-bubble, distclean-stage2, new-stage2-start, new-stage2-end, new-stage2-bubble, distclean-stage3, new-stage3-start, new-stage3-end): New autogenerated targets. (objext, prebootstrap, BOOT_CFLAGS, POSTSTAGE1_FLAGS_TO_PASS): Move above the autogenerated targets. * Makefile.in: Regenerate. (distclean-stage1, new-stage1-start, new-stage1-end, new-stage1-bubble, distclean-stage2, new-stage2-start, new-stage2-end, new-stage2-bubble, distclean-stage3, new-stage3-start, new-stage3-end): New targets. (all-stage1-gcc): Move prebootstrap dependency from here... (configure-stage1-gcc): ...to here. (new-bootstrap): Use bubble targets. (new-cleanstrap, new-restage1, new-restage2, new-restage3): Use per-stage distclean targets. (configure-stage1-gcc, configure-stage2-gcc, configure-stage3-gcc, all-stage1-gcc, all-stage2-gcc, all-stage3-gcc, new-bootstrap): Use new-stageN-start to prepare the tree.
2004-05-242004-05-23 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini8-7/+378
* Makefile.def (host_modules): add libcpp. * Makefile.tpl: Add dependencies on and for libcpp. * Makefile.in: Regenerate. * configure.in: Add libcpp host module. * configure: Regenerate. config/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_HEADER_STDBOOL, ACX_HEADER_STRING): From gcc.
2004-05-24* m68kbsd-nat.c (m68kbsd_collect_gregset): Specify correctMark Kettenis3-4/+8
register number in regcache_raw_collect call. (m68kbsd_collect_fpregset): Likewise. * vaxbsd-nat.c (vaxbsd_collect_gregset): Likewise.
2004-05-24Remove bogus inodeNick Clifton2-1/+5
2004-05-24*** empty log message ***gdbadmin1-1/+1
2004-05-24daily updateAlan Modra1-1/+1
2004-05-23* regset.h (struct regset): Add back `regset' member.Mark Kettenis2-1/+8
2004-05-23* ld.texinfo (Options): Fix typo in last change.Andreas Schwab2-1/+5
2004-05-23* configure.in: Check for td_pcb in `struct thread'.Mark Kettenis4-188/+237
* configure, config.in: Regenerated.
2004-05-23 * expr.c (operand, operator): Don't reject '++' and '--'.Alan Modra2-6/+13
2004-05-23 * configure.in (is_release): Remove.Ben Elliston6-1025/+362
(bfd_version_date, bfd_version, bfd_version_string): Likewise. (AC_OUTPUT): Don't output bfdver.h from version.h. * configure: Regenerate. * Makefile.am (RELEASE): New variable. (bfdver.h): New target. * Makefile.in: Regenerate. * doc/Makefile.in: Likewise.
2004-05-23daily updateAlan Modra1-1/+1
2004-05-23*** empty log message ***gdbadmin1-1/+1
2004-05-22* dpx2-nat.c: Remove file.Mark Kettenis3-85/+5
* Makefile.in (ALLDEPFILES): Remove dpx2-nat.c. (dpx2-nat.o): Remove dependencies.
2004-05-22* amd64obsd-nat.c: Include "gdbcore.h", "regcache.h",Mark Kettenis4-3/+88
<sys/types.h>, <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h". (amd64obsd_supply_pcb): New function. (_initialize_amd64obsd_nat): Enable libkvm interface. * Makefile.in (amd64obsd-nat.o): Update dependencies. * config/i386/obsd64.mh (NATDEPFILES): Add bsd-kvm.o (LOADLIBES): New variable.
2004-05-22* sparcnbsd-nat.c: Include "gdbcore.h", "regcache.h",Mark Kettenis4-2/+52
<sys/types.h>, <machine/pcb.h> and "bsd-kvm.h". (sparc32nbsd_supply_pcb): New function. (_initialize_sparcnbsd_nat): Enable libkvm interface. * Makefile.in (sparcnbsd-nat.o): Update dependencies. * config/sparc/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o. (LOADLIBES): New variable.
2004-05-22* bsd-kvm.c, bsd-kvm.h: New files.Mark Kettenis6-5/+324
* i386fbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and "bsd-kvm.h". (i386fbsd_supply_pcb): New function. * Makefile.in (ALLDEPFILES): Add bsd-kvm.c. (i386fbsd-nat.o): Update dependencies. (bsd_kvm_h): New variable. (bsd-kvm.o): New dependency. * config/i386/fbsd.mh (NATDEPFILES): Add bsd-kvm.o. (LOADLIBES): New variable.
2004-05-22* regset.c: Tweak comment.Mark Kettenis12-53/+84
(regset_alloc): Remove descr argument. Use GDBARCH_OBSTACK_ZALLOC macro. * regset.h: Update copyright year. (struct regset): Remove `descr' member, add `gdbarch' member. (regset_alloc): Adjust prototype and comment. * i386-tdep.c (i386_supply_gregset): Get TDEP from REGSET->arch. (i386_supply_fpregset): Likewise. (i386_regset_from_core_section): Update call to regset_alloc. * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get TDEP from REGSET->arch. (i386obsd_aout_regset_from_core_section): Update call to regset_alloc. * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Get TDEP from REGSET->arch. (i386nbsd_aout_regset_from_core_section): Update call to regset_alloc. * amd64-tdep.c (amd64_supply_fpregset): Get TDEP from REGSET->arch. (amd64_regset_from_core_section): Update call to regset_alloc. * amd64obsd-tdep.c (amd64obsd_supply_regset): Get TDEP from REGSET->arch. (amd64obsd_regset_from_core_section): Update call to regset_alloc. * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Directly pass &sparc32nbsd_gregset in sparc32_supply_gregset call. (sparc32nbsd_init_abi): Update call to regset_alloc. * sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Directly pass &sparc64obsd_core_gregset in sparc64_supply_gregset call. (sparc64obsd_init_abi): Update call to regset_alloc. * sparc64nbsd-tdep.c (sparc64nbsd_supply_gregset): Directly pass &sparc64nbsd_gregset in sparc64_supply_gregset call. (sparc64nbsd_init_abi): Update call to regset_alloc. * sparc64fbsd-tdep.c (sparc64fbsd_supply_gregset): Directly pass &sparc64fbsd_gregset in sparc64_supply_gregset call. (sparc64fbsd_init_abi): Update call to regset_alloc.
2004-05-22* gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.Mark Kettenis2-1/+5
2004-05-22 * Makefile.am (config.status): Don't depend on version.h.Ben Elliston3-6/+9
* Makefile.in: Regenerate.
2004-05-22* ppc-tdep.h (spe_register_p): New declaration.Jim Blandy3-0/+49
(struct gdbarch_tdep): New members: ppc_acc_regnum and ppc_spefscr_regnum. * rs6000-tdep.c (spe_register_p): New function. (rs6000_dwarf2_stab_reg_to_regnum): Recognize numbers for acc and spefscr. (rs6000_gdbarch_init): Initialize the new members of the tdep structure.