OSDN Git Service
Mark Kettenis [Fri, 18 Mar 2005 18:59:17 +0000 (18:59 +0000)]
From Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.tgt: Add m68*-*-rtems*.
Nick Clifton [Fri, 18 Mar 2005 17:20:29 +0000 (17:20 +0000)]
Add support for generating PLT lookups for the ColdFire.
Mark Mitchell [Fri, 18 Mar 2005 17:06:16 +0000 (17:06 +0000)]
* elf32-arm.c (elf32_arm_modify_segment_map): New function.
(elf32_arm_additional_program_headers): Likewise.
(elf_backend_modify_segment_map): Define.
(elf_backend_additional_program_headers): Likewise.
(elf32_arm_symbian_modify_segment_map): Use
elf32_arm_modify_segment_map.
* binutils/readelf.c (get_arm_segment_type): New function.
(get_segment_type): Use it.
* arm.h (PT_ARM_EXIDX): Define.
Nick Clifton [Fri, 18 Mar 2005 16:12:38 +0000 (16:12 +0000)]
Change wording of error message to "percent-operand" from "%operand" as the
latter confuses xgettext into thinking that it is a C printf formating directive,
which prevents proper translation.
H.J. Lu [Fri, 18 Mar 2005 15:46:25 +0000 (15:46 +0000)]
2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_mark_used_section): Check bfd_is_const_section
for special sections.
Alan Modra [Fri, 18 Mar 2005 13:21:11 +0000 (13:21 +0000)]
* elf-bfd.h (_bfd_elf_link_renumber_dynsyms): Delete.
* elflink.c (_bfd_elf_link_renumber_dynsyms): Make static, add
section_sym_count param, and return number of section symbols.
(bfd_elf_size_dynamic_sections): Clear section symbol area of
.dynsym contents. Don't bother calling swap_symbol_out on the
first all-zero dynsym.
(elf_mark_used_section): Formatting. Avoid twiddling flags in
special sections like bfd_abs_section.
(bfd_elf_gc_sections): Spelling fix.
gdbadmin [Fri, 18 Mar 2005 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 17 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Thu, 17 Mar 2005 22:11:09 +0000 (22:11 +0000)]
* defs.h (xsnprintf): New prototype.
* utils.c (xsnprintf): New function.
Mark Kettenis [Thu, 17 Mar 2005 22:07:42 +0000 (22:07 +0000)]
* corelow.c (get_core_register_section): Replace usage of sprintf
and strcpy with xstrprintf and xstrdup.
Mark Kettenis [Thu, 17 Mar 2005 18:07:46 +0000 (18:07 +0000)]
* mips-tdep.c (mips_single_step_through_delay): Put back check for
breakpoint lost with the introduction of this function.
Paul Brook [Thu, 17 Mar 2005 17:44:14 +0000 (17:44 +0000)]
2005-03-17 Paul Brook <paul@codesourcery.com>
* amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
* s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.
Nick Clifton [Thu, 17 Mar 2005 08:24:28 +0000 (08:24 +0000)]
(read_indirect_string): Fix apparent typo, check dwarf_str_buffer allocation,
not dwarf_abbrev_buffer.
gdbadmin [Thu, 17 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 16 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update
H.J. Lu [Wed, 16 Mar 2005 21:52:41 +0000 (21:52 +0000)]
bfd/
2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_mark_used_section): New.
(bfd_elf_gc_sections): Call elf_gc_mark_section for
non-relocatable link if we don't do GC.
include/
2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_link_info): Add gc_sections.
ld/
2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
unused empty output sections for non-relocatable link.
* ld.h (args_type): Remove gc_sections.
* ldlang.c (lang_mark_used_section): New.
(lang_gc_sections): Use link_info.gc_sections instead of
command_line.gc_sections.
* ldmain.c (main): Likewise.
* lexsup.c (parse_args): Likewise.
* ldlang.c (lang_process): Call lang_mark_used_section.
* ldmain.c (main): Initialize link_info.gc_sections to FALSE.
ld/testsuite/
2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
* ld-alpha/tlsbin.rd: Updated for empty section removal.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.rd: Likewise.
* ld-arm/mixed-lib.sym: Likewise.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlspic.rd: Likewise.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-powerpc/apuinfo.rd: Likewise.
* ld-powerpc/powerpc.exp: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-sh/tlsbin-2.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunpic32.rd: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
DJ Delorie [Wed, 16 Mar 2005 17:46:21 +0000 (17:46 +0000)]
* Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi.
* Makefile.in: Regenerate.
DJ Delorie [Wed, 16 Mar 2005 17:44:39 +0000 (17:44 +0000)]
merge from gcc
Nick Clifton [Wed, 16 Mar 2005 17:18:17 +0000 (17:18 +0000)]
Rename switch to enable/disable -Werror to --enable-werror/--disable-werror
for compatibility with gcc.
Mark Mitchell [Wed, 16 Mar 2005 17:07:17 +0000 (17:07 +0000)]
* event-top.c (handle_sigquit): Do not define for systems without
SIGQUIT.
(sigquit_token): Likewise.
(async_init_signals): Allow for systems that do not
define SIGQUIT.
* ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
Mark Mitchell [Wed, 16 Mar 2005 17:05:31 +0000 (17:05 +0000)]
* event-top.c (async_init_signals): Allow for systems that do not
define SIGQUIT.
* ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
Nick Clifton [Wed, 16 Mar 2005 16:17:14 +0000 (16:17 +0000)]
Enable -Werror by default
Mark Mitchell [Wed, 16 Mar 2005 15:58:41 +0000 (15:58 +0000)]
* utils.c (internal_vproblem): Guard call to fork with
HAVE_WORKING_FORK.
* cli/cli-cmds.c (shell_escape): Guard call to vfork with
HAVE_WORKING_VFORK and HAVE_WORKING_FORK.
* remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of
S_IRGRP and related macros.
(remote_fileio_mode_to_target): Likewise.
Nick Clifton [Wed, 16 Mar 2005 14:37:15 +0000 (14:37 +0000)]
Convert to ISO C90 formatting.
Alan Modra [Wed, 16 Mar 2005 06:11:51 +0000 (06:11 +0000)]
* elf32-ppc.c: Divide file into general and linker specific
functions. Sort linker functions into roughly the order in which
they are called by the ELF linker code.
Alan Modra [Wed, 16 Mar 2005 02:41:25 +0000 (02:41 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_create_linker_section): Set SEC_LINKER_CREATED
on section. Correct comment, and add FIXME.
(ppc_elf_additional_program_headers): Don't bump header count for
interp. Test SEC_ALLOC, not SEC_LOAD, and don't test size.
(ppc_elf_size_dynamic_sections): Don't strip sdata and sdata2, but
do allocate memory if they need it.
ld/
* emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
(OTHER_RELRO_SECTIONS): Set this instead.
ld/testsuite/
* ld-powerpc/tlsexe32.d: Update.
* ld-powerpc/tlsexe32.g: Update.
* ld-powerpc/tlsexe32.r: Update.
* ld-powerpc/tlsexe32.t: Update.
* ld-powerpc/tlsso32.d: Update.
* ld-powerpc/tlsso32.g: Update.
* ld-powerpc/tlsso32.r: Update.
* ld-powerpc/tlsso32.t: Update.
Alan Modra [Wed, 16 Mar 2005 02:38:39 +0000 (02:38 +0000)]
* ppc-dis.c (powerpc_dialect): Don't set PPC_OPCODE_ALTIVEC when
BOOKE.
gdbadmin [Wed, 16 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jim Blandy [Tue, 15 Mar 2005 23:25:59 +0000 (23:25 +0000)]
sim/common/ChangeLog:
2005-02-28 Jim Blandy <jimb@redhat.com>
* aclocal.m4 (SIM_AC_OPTION_WARNINGS): Don't include
-Wuninitialized in the default list of build warnings if CFLAGS is
set, and doesn't include -O. (Using -Wuninitialized without
optimization produces a warning, which interferes with compilation
with -Werror.)
sim/ChangeLog:
2005-02-28 Jim Blandy <jimb@redhat.com>
* d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac,
mips/configure.ac, mn10300/configure.ac, v850/configure.ac:
Regenerated, after change to common/aclocal.m4.
Alan Modra [Tue, 15 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Nick Clifton [Tue, 15 Mar 2005 14:14:08 +0000 (14:14 +0000)]
Add support for an x86_64-elf target
Alan Modra [Tue, 15 Mar 2005 05:25:20 +0000 (05:25 +0000)]
Commit new Spanish translation.
gdbadmin [Tue, 15 Mar 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 14 Mar 2005 23:39:09 +0000 (23:39 +0000)]
Commit new French translation.
Alan Modra [Mon, 14 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Mon, 14 Mar 2005 18:55:44 +0000 (18:55 +0000)]
2005-03-14 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relocate_section): Set symbo name
for global symbol when reporting overflow.
Paul Brook [Mon, 14 Mar 2005 15:42:52 +0000 (15:42 +0000)]
2005-03-14 Paul Brook <paul@codesourcery.com>
* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
targets.
Nick Clifton [Mon, 14 Mar 2005 09:35:26 +0000 (09:35 +0000)]
Use ".word 0x0012 # Entry mask: r1 r2 >" instead of just "Entry mask: < r1 ... >"
Ben Elliston [Mon, 14 Mar 2005 03:09:45 +0000 (03:09 +0000)]
* Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
more primitive library.
gdbadmin [Mon, 14 Mar 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 13 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sun, 13 Mar 2005 22:06:10 +0000 (22:06 +0000)]
* inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
sprintf.
* target.c (normal_pid_to_str): Likewise.
* remote.c (remote_pid_to_str): Use snprint instead of sprintf.
Change capitalization of "thread". Use ptid_get_pid instead of
GETPID.
Mark Kettenis [Sun, 13 Mar 2005 19:55:38 +0000 (19:55 +0000)]
* cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
a combination of xmalloc and sprintf.
Jim Blandy [Sun, 13 Mar 2005 05:37:48 +0000 (05:37 +0000)]
* configure.ac: Use '=', not '=='; the latter is a GNU extension.
* configure: Regenerated.
gdbadmin [Sun, 13 Mar 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 12 Mar 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Zack Weinberg [Sat, 12 Mar 2005 18:25:47 +0000 (18:25 +0000)]
gas:
* config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe,
wfi, yield.
opcodes:
* arm-dis.c (thumb_opcodes): Add ARMv6K instructions nop, sev,
wfe, wfi, yield.
gas/testsuite:
* gas/arm/thumbv6k.d, gas/arm/thumbv6k.s: New dump test.
* gas/arm/arm.exp: Run it.
Zack Weinberg [Sat, 12 Mar 2005 18:17:42 +0000 (18:17 +0000)]
Revert accidental commit of V6K ops
Zack Weinberg [Sat, 12 Mar 2005 18:14:05 +0000 (18:14 +0000)]
include:
* opcode/arm.h: Adjust comments for ARM_EXT_V4T and ARM_EXT_V5T.
Add ARM_EXT_V6T2, ARM_ARCH_V6T2, ARM_ARCH_V6KT2, ARM_ARCH_V6ZT2,
and ARM_ARCH_V6ZKT2.
opcodes:
* arm-dis.c (arm_opcodes): Document %E and %V.
Add entries for v6T2 ARM instructions:
bfc bfi mls strht ldrht ldrsht ldrsbt movw movt rbit ubfx sbfx.
(print_insn_arm): Add support for %E and %V.
gdbadmin [Sat, 12 Mar 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Fri, 11 Mar 2005 23:16:47 +0000 (23:16 +0000)]
2005-03-11 Michael Snyder <msnyder@redhat.com>
* mn10300-tdep.c (mn10300_dummy_unwind_dummy_id): Replace
stub fn with real implementatin mn10300_unwind_dummy_id.
(mn10300_push_dummy_call): Implement. Bare bones version,
does not handle structs or floats.
Alan Modra [Fri, 11 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Jim Blandy [Fri, 11 Mar 2005 21:02:02 +0000 (21:02 +0000)]
Avoid warnings due to the use of -Wuninitialized without -O.
* configure.ac (build_warnings): Include -Wuninitialized only if
CFLAGS is unset at configure time, or CFLAGS is set and includes
some -O option other than -O0.
* configure: Regenerated.
Jim Blandy [Fri, 11 Mar 2005 20:27:56 +0000 (20:27 +0000)]
* mips-tdep.c (show_mips_abi): Change calling conventions to match
those expected by add_setshow_enum_cmd. Use 'file' argument as
appropriate.
Jakub Jelinek [Fri, 11 Mar 2005 16:37:17 +0000 (16:37 +0000)]
* libbfd-in.h (_bfd_ar_spacepad): New prototype.
* libbfd.h: Rebuilt.
* archive.c (_bfd_ar_spacepad): New function.
(_bfd_construct_extended_name_table, _bfd_write_archive_contents,
bsd_write_armap, _bfd_archive_bsd_update_armap_timestamp,
coff_write_armap): Use it.
(bfd_ar_hdr_from_filesystem): Likewise. Fix HP-UX large
uid/gid support.
* archive64.c (bfd_elf64_archive_write_armap): Use _bfd_ar_spacepad.
Daniel Jacobowitz [Fri, 11 Mar 2005 02:24:23 +0000 (02:24 +0000)]
* Makefile.in (SFILES): Add cp-names.y.
(libiberty_h, safe_ctype_h): New.
(YYFILES): Add cp-names.c.
(YYOBJ): Add cp-names.o.
(test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
(clean): Remove test-cp-names$(EXEEXT).
(local-maintainer-clean): Remove cp-names.c.
* cp-names.y: New file.
* cp-support.c (find_last_component): Delete.
(d_left, d_right): Define.
(cp_canonicalize_string, mangled_name_to_comp): New functions.
(cp_class_name_from_physname, method_name_from_physname): Rewrite
to use mangled_name_to_comp.
* cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
(cp_comp_to_string): New prototypes.
* config/djgpp/fnchange.lst: Add cp-names.c.
gdbadmin [Fri, 11 Mar 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 10 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Thu, 10 Mar 2005 21:26:53 +0000 (21:26 +0000)]
* archive.c (_bfd_look_for_bfd_in_cache): Move declaration of
has_table to the start of the function.
Bob Rossi [Thu, 10 Mar 2005 20:49:08 +0000 (20:49 +0000)]
Remove the --[no]async command line switch from --help
Bob Rossi [Thu, 10 Mar 2005 13:12:33 +0000 (13:12 +0000)]
Add 2005 to doco copyright
Alan Modra [Thu, 10 Mar 2005 12:52:27 +0000 (12:52 +0000)]
opcodes/
* ppc-opc.c (insert_sprg, extract_sprg): New Functions.
(powerpc_operands <SPRG>): Call the above. Bit field is 5 bits.
(SPRG_MASK): Delete.
(XSPRG_MASK): Mask off extra bits now part of sprg field.
(powerpc_opcodes): Asjust mfsprg and mtsprg to suit new mask. Move
mfsprg4..7 after msprg and consolidate.
gas/testsuite
* gas/ppc/booke.s: Add new m[t,f]sprg testcases.
* gas/ppc/booke.d: Likewise.
Mark Kettenis [Thu, 10 Mar 2005 09:11:10 +0000 (09:11 +0000)]
* proc-api.c: Update copyright year.
(_initialize_proc_api): Revert previous patch, removing spurious
space instead.
Joel Brobecker [Thu, 10 Mar 2005 02:43:23 +0000 (02:43 +0000)]
* regcache.c: Fix typo in comment.
DJ Delorie [Thu, 10 Mar 2005 01:06:07 +0000 (01:06 +0000)]
merge from gcc
Ben Elliston [Thu, 10 Mar 2005 00:29:35 +0000 (00:29 +0000)]
* archive.c: Include hashtab.h.
(struct ar_cache): Rename `arelt' to `arbfd' and remove `next'.
(_bfd_look_for_bfd_in_cache): Reimplement using htab_find.
(hash_file_ptr): New function.
(eq_file_ptr): Likewise.
(_bfd_add_bfd_to_archive_cache): Reimplement using a hash table.
* libbfd-in.h: Include hashtab.h.
(struct artdata): Change `cache' member type to htab_t.
* libbfd.h: Rebuild.
gdbadmin [Thu, 10 Mar 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
David Lecomber [Wed, 9 Mar 2005 23:33:52 +0000 (23:33 +0000)]
2005-03-09 David Lecomber <david@lecomber.net>
* proc-api.c (_initialize_proc_api): Fix invalid multi-line
i18n text.
Alan Modra [Wed, 9 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Wed, 9 Mar 2005 22:08:13 +0000 (22:08 +0000)]
* sparc-tdep.c (sparc_frame_cache): Adjust cached frame base
address for 64-bit code.
(sparc_unwind_dummy_id): Likewise.
* sparc64-tdep.c (sparc64_frame_prev_register): Adjust for new
frame base address convention.
(sparc64_push_dummy_call): Likewise.
* sparc64nbsd-tdep.c: Update copyright year.
(sparc64nbsd_sigcontext_frame_cache): Adjust cached frame base
address for 64-bit code.
(sparc64nbsd_init_abi): Tweak comment.
* sparc64obsd-tdep.c: Update copyright year.
(sparc64obsd_frame_cache): Adjust cached frame base address for
64-bit code.
(sparc64obsd_init_abi): Tweak comment.
Mark Kettenis [Wed, 9 Mar 2005 21:55:21 +0000 (21:55 +0000)]
Fix my email address in 2005-03-05 entry.
Ian Lance Taylor [Wed, 9 Mar 2005 21:28:10 +0000 (21:28 +0000)]
* pex-os2.c: Remove.
* configure.ac: Remove *-*-os2-emx* case when setting pexecute.
* Makefile.in (CFILES): Remove pex-os2.c.
(CONFIGURED_OFILES): Remove pex-os2.o.
(pex-os2.o): Remove target.
* configure: Rebuild.
Corinna Vinschen [Wed, 9 Mar 2005 17:52:54 +0000 (17:52 +0000)]
* exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.
(plus a tiny ChangeLog fix)
Alan Modra [Wed, 9 Mar 2005 13:08:26 +0000 (13:08 +0000)]
* vax-dis.c (entry_mask_bit): New array.
(print_insn_vax): Decode function entry mask.
Joel Brobecker [Wed, 9 Mar 2005 06:03:15 +0000 (06:03 +0000)]
* dwarf2read.c (dwarf_decode_lines): Use the complete filename
when creating include psymtabs.
Joel Brobecker [Wed, 9 Mar 2005 05:58:45 +0000 (05:58 +0000)]
* gdb.dwarf2/dup-psym.S: New file.
* gdb.dwarf2/dup-psym.exp: New testcase.
gdbadmin [Wed, 9 Mar 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 8 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Joel Brobecker [Tue, 8 Mar 2005 22:19:15 +0000 (22:19 +0000)]
* gdb.ada/exec_changed/first.adb: New file.
* gdb.ada/exec_changed/second.adb: New file.
* gdb.ada/exec_changed.exp: New testcase.
Mark Mitchell [Tue, 8 Mar 2005 22:17:34 +0000 (22:17 +0000)]
* environ.h (struct environ): Rename to ...
(struct gdb_environ): ... this.
(make_environ): Update prototype.
(free_environ): Likewise.
(init_environ): Likewise.
(get_in_environ): Likewise.
(set_in_environ): Likewise.
(unset_in_environ): Likewise.
(environ_vector): Likewise.
* environ.c (make_environ): Replace "struct environ" with "struct
gdb_environ".
(free_environ): Likewise.
(init_environ): Likewise.
(environ_vector): Likewise.
(get_in_environ): Likewise.
(set_in_environ): Likewise.
(unset_in_environ): Likewise.
* infcmd.c (inferior_environ): Likewise.
* inferior.h (inferior_environ): Likewise.
Joel Brobecker [Tue, 8 Mar 2005 22:03:43 +0000 (22:03 +0000)]
* infcmd.c (run_command_1): New function, extracted from
run_command.
(run_command): Replace implementation by call to run_command_1.
(start_command): Use run_command_1 to insert the temporary
breakpoint and run the program. Remove code that's no longer
needed, as already done at the proper time by run_command_1.
Daniel Jacobowitz [Tue, 8 Mar 2005 21:40:46 +0000 (21:40 +0000)]
* symfile.c (clear_symtab_users): Call
clear_current_source_symtab_and_line first.
Daniel Jacobowitz [Tue, 8 Mar 2005 15:09:23 +0000 (15:09 +0000)]
* configure.in: Bump version to 2.16.90.
* configure: Regenerated.
Nathan Sidwell [Tue, 8 Mar 2005 14:35:20 +0000 (14:35 +0000)]
* ax-gdb.c (gen_expr): Add UNOP_PLUS case.
* c-exp.y (exp): Add unary plus.
* eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
* valarith.c (value_x_unop): Add UNOP_PLUS case.
(value_pos): New.
* value.h (value_pos): Declare.
* gdb.cp/userdef.cc (A1::operator+): New unary plus.
(A2): New class.
(main): Test operator+.
* gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
breakpoint test.
Nathan Sidwell [Tue, 8 Mar 2005 14:30:46 +0000 (14:30 +0000)]
* remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.
(remote_fetch_registers): Allow uppercase hex when resyncing.
(remote_write_bytes): Only call get_memory_write_packet_size once.
Robustify packet size calculation for very small packets. Check
that at least one byte will be written.
Nathan Sidwell [Tue, 8 Mar 2005 10:12:21 +0000 (10:12 +0000)]
* gdb.base/sigbpt.exp: Disable if gdb,nosignals.
* gdb.base/signull.exp: Disable if gdb,nosignals.
* gdb.cp/bs15503.exp: Disable if skip_cplus_tests
* gdb.cp/exception.exp: Disable if skip_cplus_tests.
* gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
* gdb.mi/mi2-console.exp: Likewise.
* gdb.trace/collection.exp (run_trace_experiment): Consume the
continue output at start.
(gdb_collect_locals_test): Robustify regexp.
* gdb.trace/passc-dyn.exp: Fix comment typo.
* gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
Nathan Sidwell [Tue, 8 Mar 2005 10:03:47 +0000 (10:03 +0000)]
* tracepoint.c (target_is_remote): Allow extended-remote.
(struct collection_list): Allow 256 registers, like the comment
said.
(add_memrange): Fix comment.
(read_actions): Turn EOF into 'end'.
Corinna Vinschen [Tue, 8 Mar 2005 08:59:47 +0000 (08:59 +0000)]
* Makefile.in: Add dependencies for iq2000-tdep.o.
* configure.tgt: Add iq2000-*-* target.
* iq2000-tdep.c: New file.
* config/iq2000/iq2000.mt: New file.
Corinna Vinschen [Tue, 8 Mar 2005 08:59:17 +0000 (08:59 +0000)]
* gdb.asm/asm-source.exp: Add iq2000 case.
* gdb.asm/iq2000.inc: New file.
Corinna Vinschen [Tue, 8 Mar 2005 08:55:34 +0000 (08:55 +0000)]
* iq2000: New target subdirectory.
* configure.ac: Add iq2000 target.
* configure: Regenerate.
Joel Brobecker [Tue, 8 Mar 2005 04:34:45 +0000 (04:34 +0000)]
* doc/observer.texi (executable_changed): New observer.
* symtab.c: Include "observer.h".
(find_main_name): New function.
(main_name): If name_of_main is unset, then compute it
using find_main_name.
(symtab_observer_executable_changed): New function.
(_initialize_symtab): Attach executable_changed observer.
* exec.c: Include "observer.h".
(exec_file_attach): Emit executable_changed notification.
* symfile.c: Include "observer.h".
(reread_symbols): Send an executable_changed if appropriate.
* Makefile.in (exec.o): Add dependency on observer.h.
(symfile.o): Likewise.
(symtab.o): Likewise.
gdbadmin [Tue, 8 Mar 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Mon, 7 Mar 2005 23:20:07 +0000 (23:20 +0000)]
merge from gcc
Alan Modra [Mon, 7 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Mon, 7 Mar 2005 22:38:04 +0000 (22:38 +0000)]
* findvar.c (read_var_value): Don't allocate V when it will not
be used. Add missing break for LOC_INDIRECT.
Manoj Iyer [Mon, 7 Mar 2005 21:37:25 +0000 (21:37 +0000)]
2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
* gdb.base/command.exp: Change hardcoded value to regular expression.
* gdb.base/float.exp: Add powerpc to the list of targets checked.
Daniel Jacobowitz [Mon, 7 Mar 2005 21:16:50 +0000 (21:16 +0000)]
* gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
gdb.asm/x86_64.inc: Use .purgem before redefining macros.
Ian Lance Taylor [Mon, 7 Mar 2005 21:12:04 +0000 (21:12 +0000)]
* mpw-config.in: Remove.
* mpw-make.sed: Remove.
* mpw.c: Remove.
* Makefile.in (CFILES): Remove pex-mpw.c.
(CONFIGURED_OFILES): Remove pex-mpw.o.
(mpw.o, pex-mpw.o): Remove targets.
* maint-tool (undoc): Remove reference to mpw.c.
Aldy Hernandez [Mon, 7 Mar 2005 20:05:44 +0000 (20:05 +0000)]
* ppc-opc.c (powerpc_opcodes): Fix encoding of efscfd.
Paul Gilliam [Mon, 7 Mar 2005 18:57:57 +0000 (18:57 +0000)]
fix obvious problem with compiler.c and compiler.cc: for xlc, used 'regsub',
but for get_compiler_info, line must start with 'set'.