deliverable/binutils-gdb.git
12 years ago*** empty log message ***
gdbadmin [Fri, 3 Feb 2012 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

12 years agodaily update
Alan Modra [Thu, 2 Feb 2012 23:00:06 +0000 (23:00 +0000)] 
daily update

12 years ago2012-02-02 Doug Kwan <dougkwan@google.com>
Doug Kwan [Thu, 2 Feb 2012 20:21:17 +0000 (20:21 +0000)] 
2012-02-02  Doug Kwan  <dougkwan@google.com>

* arm.cc (Reloc_stub::stub_type_for_reloc): Use PIC stubs in all
position independent outputs, not just shared objects.

12 years ago * blockframe.c (find_pc_partial_function_gnu_ifunc): Change type of
Doug Evans [Thu, 2 Feb 2012 20:19:17 +0000 (20:19 +0000)] 
* blockframe.c (find_pc_partial_function_gnu_ifunc): Change type of
"name" parameter to const char ** from char **.  All callers updated.
(find_pc_partial_function): Ditto.
(cache_pc_function_name): Change type to const char * from char *.
* symtab.h ((find_pc_partial_function_gnu_ifunc): Update.
(find_pc_partial_function): Update.
* alpha-tdep.h (struct gdbarch_tdep, member pc_in_sigtramp): Change
type of "name" parameter to const char * from char *.
All uses updated.
* arch-utils.c (generic_in_solib_return_trampoline): Change
type of "name" parameter to const char * from char *.
* arch-utils.h (generic_in_solib_return_trampoline): Update.
* frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Change
type of "name" parameter to const char * from char *.
* gdbarch.sh (in_solib_return_trampoline): Ditto.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* hppa-hpux-tdep.c (hppa_hpux_in_solib_return_trampoline): Update.
* rs6000-tdep.c (rs6000_in_solib_return_trampoline): Update.
* m32r-linux-tdep.c (m32r_linux_pc_in_sigtramp): Change
type of "name" parameter to const char * from char *.
* skip.c (skip_function_pc): Ditto.
* sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Ditto.
* sparc-tdep.h (sparc_sol2_pc_in_sigtramp): Update.
* sparc64fbsd-tdep.c (sparc64fbsd_pc_in_sigtramp): Ditto.
* sparc64nbsd-tdep.c (sparc64nbsd_pc_in_sigtramp): Ditto.
* sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Ditto.
* sparcnbsd-tdep.c (sparc32nbsd_pc_in_sigtramp): Ditto.
* sparcobsd-tdep.c (sparc32obsd_pc_in_sigtramp): Ditto.
* nbsd-tdep.c (nbsd_pc_in_sigtramp): Similary for "func_name".
* nbsd-tdep.h (nbsd_pc_in_sigtramp): Update.

12 years ago2012-02-02 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 2 Feb 2012 18:10:07 +0000 (18:10 +0000)] 
2012-02-02  Pedro Alves  <palves@redhat.com>

* gdb.reverse/until-precsave.exp: Also put "record save" under the
extended timeout.

12 years ago2012-02-02 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 2 Feb 2012 18:09:07 +0000 (18:09 +0000)] 
2012-02-02  Pedro Alves  <palves@redhat.com>

* gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
* gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.

12 years ago2012-02-02 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 2 Feb 2012 18:07:58 +0000 (18:07 +0000)] 
2012-02-02  Pedro Alves  <palves@redhat.com>

* gdb.base/term.exp: Rewrite.
* gdb.base/term.c: New.

12 years ago2012-02-02 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 2 Feb 2012 18:06:40 +0000 (18:06 +0000)] 
2012-02-02  Pedro Alves  <palves@redhat.com>

Try SIGKILL first, then PTRACE_KILL.
* linux-low.c (linux_kill_one_lwp): New.
(linux_kill_one_lwp): Rename to ...
(kill_one_lwp_callback): ... this.  Use the new
linux_kill_one_lwp.

12 years ago2012-02-02 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 2 Feb 2012 18:05:35 +0000 (18:05 +0000)] 
2012-02-02  Pedro Alves  <palves@redhat.com>

* gdb.base/default.exp (run "r" abbreviation, run): Add
extended-remote expected output.

12 years agogdbserver/
Pedro Alves [Thu, 2 Feb 2012 18:04:29 +0000 (18:04 +0000)] 
gdbserver/
2012-02-02  Pedro Alves  <palves@redhat.com>

* tracepoint.c (cmd_qtminftpilen): Return 0 if there's no current
inferior.

gdb/
2012-02-02  Pedro Alves  <palves@redhat.com>

* remote.c (remote_get_min_fast_tracepoint_insn_len): Return 0 if
the current inferior has no execution.  Make sure the current
remote process matches gdb's current inferior.

12 years ago2012-02-02 Vidya Praveen (vidya.praveen@atmel.com)
Eric B. Weddington [Thu, 2 Feb 2012 18:02:10 +0000 (18:02 +0000)] 
2012-02-02  Vidya Praveen (vidya.praveen@atmel.com)

PR bfd/13410
* bfd/elf32-avr.c (elf32_avr_relax_section): Correct the
condition that qualifies the candidates for relaxation.

12 years ago PR gdb/13405:
Tom Tromey [Thu, 2 Feb 2012 16:22:21 +0000 (16:22 +0000)] 
PR gdb/13405:
* tui/tui-win.c (parse_scrolling_args): Don't write to possibly
read-only memory.

12 years ago2012-02-02 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 2 Feb 2012 15:36:44 +0000 (15:36 +0000)] 
2012-02-02  Tristan Gingold  <gingold@adacore.com>

* bfdio.c (real_fopen): Remove unused vms_modes variable.

12 years ago PR gdb/9307:
Tom Tromey [Thu, 2 Feb 2012 14:58:33 +0000 (14:58 +0000)] 
PR gdb/9307:
* symtab.c (lookup_language_this): Set block_found.
gdb/testsuite
* gdb.cp/dispcxx.exp: New file.
* gdb.cp/dispcxx.cc: New file.

12 years agobfd/
Tristan Gingold [Thu, 2 Feb 2012 11:55:43 +0000 (11:55 +0000)] 
bfd/
2012-02-02  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_read_header): Silent uninitialized
variable warning.

gas/
2012-02-02  Tristan Gingold  <gingold@adacore.com>

* config/obj-macho.c (obj_mach_o_zerofill): Silent
uninitialized variable warning.

12 years ago2012-02-02 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 2 Feb 2012 11:35:31 +0000 (11:35 +0000)] 
2012-02-02  Tristan Gingold  <gingold@adacore.com>

* archive.c (bfd_slurp_armap): Fix thinko in cast.

12 years ago PR gas/13224
Nick Clifton [Thu, 2 Feb 2012 09:26:04 +0000 (09:26 +0000)] 
PR gas/13224
* config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
to 'is_clone' to avoid shadowing a gloabl.
(obj_elf_section): Likewise.

12 years ago * binutils-all/readelf.n: Add #pass to cope with targets that add
Nick Clifton [Thu, 2 Feb 2012 08:45:03 +0000 (08:45 +0000)] 
* binutils-all/readelf.n: Add #pass to cope with targets that add
their own notes.

12 years ago*** empty log message ***
gdbadmin [Thu, 2 Feb 2012 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

12 years agodaily update
Alan Modra [Wed, 1 Feb 2012 23:00:06 +0000 (23:00 +0000)] 
daily update

12 years ago PR gdb/13431:
Tom Tromey [Wed, 1 Feb 2012 20:21:22 +0000 (20:21 +0000)] 
PR gdb/13431:
* jit.c (struct jit_inferior_data): Rewrite.
(struct jit_objfile_data): New.
(get_jit_objfile_data): New function.
(add_objfile_entry): Update.
(jit_read_descriptor): Return int.  Replace descriptor_addr
argument with inf_data.  Update.  Don't call error.
(jit_breakpoint_re_set_internal): Reorder logic.  Update.  Look up
descriptor here.
(jit_inferior_init): Don't look up descriptor.  Don't call error.
(jit_reset_inferior_data_and_breakpoints)
(jit_inferior_created_observer): Remove.
(jit_inferior_exit_hook): Update.
(jit_executable_changed_observer): Remove.
(jit_event_handler): Update.
(free_objfile_data): Reset inferior data if needed.
(_initialize_jit): Update.
gdb/testsuite
* gdb.base/jit-simple.exp: New file.
* gdb.base/jit-simple.c: New file.

12 years ago * jit.c (bfd_open_from_target_memory): Move higher in file.
Tom Tromey [Wed, 1 Feb 2012 20:16:24 +0000 (20:16 +0000)] 
* jit.c (bfd_open_from_target_memory): Move higher in file.

12 years ago PR binutils/13493
Nick Clifton [Wed, 1 Feb 2012 16:49:26 +0000 (16:49 +0000)] 
PR binutils/13493
* ar.c (ranlib_main): Process --plugin option.
* doc/binutils.texi: Document --plugin support for ranlib.

12 years agoRemove spurious conflict indicators.
Tristan Gingold [Wed, 1 Feb 2012 16:22:37 +0000 (16:22 +0000)] 
Remove spurious conflict indicators.
OVS: ----------------------------------------------------------------------

12 years ago2012-02-01 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 1 Feb 2012 16:20:51 +0000 (16:20 +0000)] 
2012-02-01  Tristan Gingold  <gingold@adacore.com>

* libunwind-frame.c (libunwind_load): Display message if dlopen
failed.

12 years agooops - accidentally omitted from previous delta.
Nick Clifton [Wed, 1 Feb 2012 16:13:55 +0000 (16:13 +0000)] 
oops - accidentally omitted from previous delta.

12 years ago2012-02-01 Gary Benson <gbenson@redhat.com>
Gary Benson [Wed, 1 Feb 2012 16:10:31 +0000 (16:10 +0000)] 
2012-02-01  Gary Benson  <gbenson@redhat.com>

* symtab.h (symbol_name_match_p_ftype): New typedef.
(iterate_over_symbols): Use the above.
* symtab.c (iterate_over_symbols): Likewise.
* language.h (language_defn->la_iterate_over_symbols): Likewise.
* ada-lang.c (ada_iterate_over_symbols): Likewise.
* linespec.c (iterate_over_all_matching_symtabs): Likewise.
(iterate_name_matcher): Document return values.
(collect_one_symbol): Likewise.
(collect_function_symbols): Likewise.
(collect_symbols): Likewise.

12 years ago * ada-lang.c (resolve_subexp): Update.
Tom Tromey [Wed, 1 Feb 2012 15:49:34 +0000 (15:49 +0000)] 
* ada-lang.c (resolve_subexp): Update.
(ada_lookup_symbol_list): Add 'full_search' argument.
(ada_iterate_over_symbols): Pass 0 as full_search argument to
ada_lookup_symbol_list.
(ada_lookup_encoded_symbol): Update.
(get_var_value): Update.
* ada-exp.y (block_lookup): Update.
(write_var_or_type): Update.
(write_name_assoc): Update.
* ada-lang.h (ada_lookup_symbol_list): Update.

12 years ago PR binutils/13482
Nick Clifton [Wed, 1 Feb 2012 15:44:30 +0000 (15:44 +0000)] 
PR binutils/13482
* readelf.c (process_corefile_note_segment): Fix off-by-one errors
verifying the contents of a note.

* binutils-all/version.s: New test source file.
* binutils-all/readelf.n: New file: expected readelf output.
* binutils-all/readelf.exp: Add test of .note section contents.

12 years agoFix build error in Darwin port.
Joel Brobecker [Wed, 1 Feb 2012 10:54:07 +0000 (10:54 +0000)] 
Fix build error in Darwin port.

gdb/ChangeLog:

        From: Josh Matthews  <josh@joshmatthews.net>  (tiny change)
  Fix build error in Darwin port.
  * i386-darwin-nat.c: Include i386-nat.h.

12 years ago*** empty log message ***
gdbadmin [Wed, 1 Feb 2012 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

12 years agodaily update
Alan Modra [Tue, 31 Jan 2012 23:00:06 +0000 (23:00 +0000)] 
daily update

12 years agoMove ELF header entries to elf/ChangeLog
H.J. Lu [Tue, 31 Jan 2012 20:00:16 +0000 (20:00 +0000)] 
Move ELF header entries to elf/ChangeLog

12 years ago * language.h (struct language_defn) <la_iterate_over_symbols>: Fix
Tom Tromey [Tue, 31 Jan 2012 18:26:47 +0000 (18:26 +0000)] 
* language.h (struct language_defn) <la_iterate_over_symbols>: Fix
comment.

12 years ago * symtab.h: (SYMBOL_MATCHES_NATURAL_NAME): Delete.
Doug Evans [Tue, 31 Jan 2012 18:19:49 +0000 (18:19 +0000)] 
* symtab.h: (SYMBOL_MATCHES_NATURAL_NAME): Delete.

12 years agoSupport arch-dependent fill
H.J. Lu [Tue, 31 Jan 2012 17:54:39 +0000 (17:54 +0000)] 
Support arch-dependent fill

bfd/

2012-01-31  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/13616
* archures.c (bfd_arch_info): Add fill.
(bfd_default_arch_struct): Add bfd_arch_default_fill.
(bfd_arch_default_fill): New.

* configure.in: Set bfd version to 2.22.52.
* configure: Regenerated.

* cpu-alpha.c: Add bfd_arch_default_fill to bfd_arch_info
initializer.
* cpu-arc.c: Likewise.
* cpu-arm.c: Likewise.
* cpu-avr.c: Likewise.
* cpu-bfin.c: Likewise.
* cpu-cr16.c: Likewise.
* cpu-cr16c.c: Likewise.
* cpu-cris.c: Likewise.
* cpu-crx.c: Likewise.
* cpu-d10v.c: Likewise.
* cpu-d30v.c: Likewise.
* cpu-dlx.c: Likewise.
* cpu-epiphany.c: Likewise.
* cpu-fr30.c: Likewise.
* cpu-frv.c: Likewise.
* cpu-h8300.c: Likewise.
* cpu-h8500.c: Likewise.
* cpu-hppa.c: Likewise.
* cpu-i370.c: Likewise.
* cpu-i860.c: Likewise.
* cpu-i960.c: Likewise.
* cpu-ia64.c: Likewise.
* cpu-ip2k.c: Likewise.
* cpu-iq2000.c: Likewise.
* cpu-lm32.c: Likewise.
* cpu-m10200.c: Likewise.
* cpu-m10300.c: Likewise.
* cpu-m32c.c: Likewise.
* cpu-m32r.c: Likewise.
* cpu-m68hc11.c: Likewise.
* cpu-m68hc12.c: Likewise.
* cpu-m68k.c: Likewise.
* cpu-m88k.c: Likewise.
* cpu-mcore.c: Likewise.
* cpu-mep.c: Likewise.
* cpu-microblaze.c: Likewise.
* cpu-mips.c: Likewise.
* cpu-mmix.c: Likewise.
* cpu-moxie.c: Likewise.
* cpu-msp430.c: Likewise.
* cpu-mt.c: Likewise.
* cpu-ns32k.c: Likewise.
* cpu-openrisc.c: Likewise.
* cpu-or32.c: Likewise.
* cpu-pdp11.c: Likewise.
* cpu-pj.c: Likewise.
* cpu-plugin.c: Likewise.
* cpu-powerpc.c: Likewise.
* cpu-rl78.c: Likewise.
* cpu-rs6000.c: Likewise.
* cpu-rx.c: Likewise.
* cpu-s390.c: Likewise.
* cpu-score.c: Likewise.
* cpu-sh.c: Likewise.
* cpu-sparc.c: Likewise.
* cpu-spu.c: Likewise.
* cpu-tic30.c: Likewise.
* cpu-tic4x.c: Likewise.
* cpu-tic54x.c: Likewise.
* cpu-tic6x.c: Likewise.
* cpu-tic80.c: Likewise.
* cpu-tilegx.c: Likewise.
* cpu-tilepro.c: Likewise.
* cpu-v850.c: Likewise.
* cpu-vax.c: Likewise.
* cpu-w65.c: Likewise.
* cpu-we32k.c: Likewise.
* cpu-xc16x.c: Likewise.
* cpu-xstormy16.c: Likewise.
* cpu-xtensa.c: Likewise.
* cpu-z80.c: Likewise.
* cpu-z8k.c: Likewise.

* cpu-i386.c: Include "libiberty.h".
(bfd_arch_i386_fill): New.
Add bfd_arch_i386_fill to  bfd_arch_info initializer.

* cpu-k1om.c: Add bfd_arch_i386_fill to  bfd_arch_info initializer.
* cpu-l1om.c: Likewise.

* linker.c (default_data_link_order): Call abfd->arch_info->fill
if fill size is 0.

* bfd-in2.h: Regenerated.

include/

2012-01-31  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/13616
* bfdlink.h (bfd_link_order): Update comments on data size.

ld/

2012-01-31  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/13616
* emulparams/elf32_x86_64.sh: Remove NOP.
* emulparams/elf_i386.sh: Likewise.
* emulparams/elf_i386_be.sh: Likewise.
* emulparams/elf_i386_ldso.sh: Likewise.
* emulparams/elf_i386_vxworks.sh: Likewise.
* emulparams/elf_k1om.sh: Likewise.
* emulparams/elf_l1om.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.

* ldlang.c (zero_fill): Initialized to 0.

* ldwrite.c (build_link_order): Set data size to linker odrder
size when they are the same.

* scripttempl/elf.sc: Don't specify fill if NOP is undefined.

ld/testsuite/

2012-01-31  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/13616
* ld-i386/tlsbindesc.dd: Update no-op padding.
* ld-i386/tlsnopic.dd: Likewise.
* ld-i386/tlspic.dd: Likewise.
* ld-x86-64/tlsbin.dd: Likewise.
* ld-x86-64/tlsbindesc.dd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.

12 years ago * symtab.h: Remove outdated comment.
Doug Evans [Tue, 31 Jan 2012 17:48:41 +0000 (17:48 +0000)] 
* symtab.h: Remove outdated comment.
(SYMBOL_MATCHES_NATURAL_NAME): Tweak comment.

12 years ago2012-01-31 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 31 Jan 2012 15:01:56 +0000 (15:01 +0000)] 
2012-01-31  Paul Brook  <paul@codesourcery.com>

gas/
* doc/c-tic6x.c: Fix typo.

12 years ago* rl78-decode.opc (rl78_decode_opcode): Add NOT1.
DJ Delorie [Tue, 31 Jan 2012 00:22:52 +0000 (00:22 +0000)] 
* rl78-decode.opc (rl78_decode_opcode): Add NOT1.
* rl78-decode.c: Regenerate.

* config/rl78-parse.y (NOT1): Add.

12 years agogdb/testsuite/
Yao Qi [Tue, 31 Jan 2012 00:10:58 +0000 (00:10 +0000)] 
gdb/testsuite/
* gdb.base/skip.exp: Make test result unique.

12 years ago*** empty log message ***
gdbadmin [Tue, 31 Jan 2012 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

12 years agodaily update
Alan Modra [Mon, 30 Jan 2012 23:00:06 +0000 (23:00 +0000)] 
daily update

12 years agoCheck if -fpic -mtls-dialect=gnu2 works
H.J. Lu [Mon, 30 Jan 2012 21:13:30 +0000 (21:13 +0000)] 
Check if -fpic -mtls-dialect=gnu2 works

2012-01-30  H.J. Lu  <hongjiu.lu@intel.com>

* configure.ac: Check if -fpic -mtls-dialect=gnu2 works.
* configure: Regenerated.

12 years ago PR breakpoints/13568:
Tom Tromey [Mon, 30 Jan 2012 20:10:32 +0000 (20:10 +0000)] 
PR breakpoints/13568:
* dwarf2read.c (dwarf_decode_macro_bytes): Add 'include_hash'
argument.  Check for recursive includes.
(dwarf_decode_macros): Create an include hash.

12 years agoSupport stepping through PPC PLT with securePLT.
Michael Eager [Mon, 30 Jan 2012 17:09:40 +0000 (17:09 +0000)] 
Support stepping through PPC PLT with securePLT.

* configure.tgt (powerpc-*-linux*): Add glibc-tdep.o.
* ppc-linux-tdep.c: Include glibc-tdep.h.
(powerpc32_plt_stub, powerpc32_plt_stub_so): Add PLT stub templates.
(powerpc_linux_in_plt_stub): New function.
(powerpc_linux_in_dynsym_resolve_code): New function.
(ppc_skip_trampoline_code): New function.
(ppc_linux_init_abi): Use PPC specific functions rather than generic.
Use glibc_skip_solib_resolver.

12 years agogdb/testsuite/
Jan Kratochvil [Mon, 30 Jan 2012 06:48:08 +0000 (06:48 +0000)] 
gdb/testsuite/
* gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
compatibility with valgrind-3.7.0.

12 years ago*** empty log message ***
gdbadmin [Mon, 30 Jan 2012 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

12 years agodaily update
Alan Modra [Sun, 29 Jan 2012 23:00:05 +0000 (23:00 +0000)] 
daily update

12 years ago*** empty log message ***
gdbadmin [Sun, 29 Jan 2012 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

12 years agodaily update
Alan Modra [Sat, 28 Jan 2012 23:00:05 +0000 (23:00 +0000)] 
daily update

12 years agogdb/
Jan Kratochvil [Sat, 28 Jan 2012 18:08:22 +0000 (18:08 +0000)] 
gdb/
Code cleanup: Make 1440 bytes of data segment read-only.
* arch-utils.c (endian_enum): Make it const char *const [].
* arm-tdep.c (fp_model_strings, arm_abi_strings, arm_mode_strings):
Likewise.
* breakpoint.c (always_inserted_enums): Likewise.
* cli/cli-cmds.c (script_ext_enums): Likewise.
* cli/cli-decode.c (add_setshow_enum_cmd, complete_on_enum): Make the
enumlist parameter const char *const *.
* cli/cli-decode.h (struct cmd_list_element): Make the enums field
const char *const *.
* command.h (complete_on_enum, add_setshow_enum_cmd): Make the enumlist
parameter const char *const *.
* cris-tdep.c (cris_modes): Make it const char *const [].
* filesystem.c (target_file_system_kinds): Likewise.
* i386-tdep.c (valid_flavors, valid_conventions): Likewise.
* infrun.c (follow_fork_mode_kind_names, follow_exec_mode_names)
(can_use_displaced_stepping_enum, scheduler_enums)
(exec_direction_names): Likewise.
* language.c (_initialize_language): Make the type_or_range_names and
case_sensitive_names variables const char *const [].
* mips-tdep.c (mips_abi_strings): Make it const char *const [].
* python/python.c (python_excp_enums): Likewise.
* remote.c (interrupt_sequence_modes): Likewise.
* rs6000-tdep.c (powerpc_vector_strings): Likewise.
* serial.c (logbase_enums): Likewise.
* sh-tdep.c (sh_cc_enum): Likewise.
* stack.c (print_frame_arguments_choices, print_entry_values_choices):
Likewise.
* symtab.c (multiple_symbols_modes): Likewise.
* tui/tui-win.c (tui_border_kind_enums, tui_border_mode_enums):
Likewise.
* utils.c (internal_problem_modes): Likewise.

12 years ago * reloc.h (Bits): New class with static functions, copied from
Ian Lance Taylor [Sat, 28 Jan 2012 01:47:01 +0000 (01:47 +0000)] 
* reloc.h (Bits): New class with static functions, copied from
namespace utils in arm.cc.
* arm.cc (namespace utils): Remove.  Rewrite all uses to use Bits
instead.

12 years agoUpdate copyright year.
Ian Lance Taylor [Sat, 28 Jan 2012 01:43:58 +0000 (01:43 +0000)] 
Update copyright year.

12 years ago * mips.h: New file
Ian Lance Taylor [Sat, 28 Jan 2012 01:04:22 +0000 (01:04 +0000)] 
* mips.h: New file
* elfcpp.h (SHT_MIPS_REGINFO): New enums for processor-specific flags.
(SHF_MIPS_GPREL): Likewise.
(PT_MIPS_REGINFO, PT_MIPS_RTPROC, PT_MIPS_OPTIONS): Likewise.
(DT_MIPS_RLD_VERSION, DT_MIPS_TIME_STAMP, DT_MIPS_ICHECKSUM,
 DT_MIPS_IVERSION, DT_MIPS_FLAGS, DT_MIPS_BASE_ADDRESS, DT_MIPS_MSYM,
 DT_MIPS_CONFLICT, DT_MIPS_LIBLIST, DT_MIPS_LOCAL_GOTNO,
 DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO, DT_MIPS_SYMTABNO,
 DT_MIPS_UNREFEXTNO, DT_MIPS_GOTSYM, DT_MIPS_HIPAGENO, DT_MIPS_RLD_MAP,
 DT_MIPS_DELTA_CLASS, DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE,
 DT_MIPS_DELTA_INSTANCE_NO, DT_MIPS_DELTA_RELOC, DT_MIPS_DELTA_RELOC_NO,
 DT_MIPS_DELTA_SYM, DT_MIPS_DELTA_SYM_NO, DT_MIPS_DELTA_CLASSSYM,
 DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_CXX_FLAGS, DT_MIPS_PIXIE_INIT,
 DT_MIPS_SYMBOL_LIB, DT_MIPS_LOCALPAGE_GOTIDX, DT_MIPS_LOCAL_GOTIDX,
 DT_MIPS_HIDDEN_GOTIDX, DT_MIPS_PROTECTED_GOTIDX, DT_MIPS_OPTIONS,
 DT_MIPS_INTERFACE, DT_MIPS_DYNSTR_ALIGN, DT_MIPS_INTERFACE_SIZE,
 DT_MIPS_RLD_TEXT_RESOLVE_ADDR, DT_MIPS_PERF_SUFFIX,
 DT_MIPS_COMPACT_SIZE, DT_MIPS_GP_VALUE, DT_MIPS_AUX_DYNAMIC,
 DT_MIPS_PLTGOT, DT_MIPS_RWPLT): Likewise.

12 years ago * elfcpp.h (STT_GNU_IFUNC): Add comment.
Ian Lance Taylor [Sat, 28 Jan 2012 00:59:27 +0000 (00:59 +0000)] 
* elfcpp.h (STT_GNU_IFUNC): Add comment.

12 years agoCorrect incremental relocation offset
H.J. Lu [Sat, 28 Jan 2012 00:23:31 +0000 (00:23 +0000)] 
Correct incremental relocation offset

2012-01-27  H.J. Lu  <hongjiu.lu@intel.com>

* incremental.cc (write_info_blocks): Correct relocation offset.

12 years ago*** empty log message ***
gdbadmin [Sat, 28 Jan 2012 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

12 years agoSupport x32 GD->IE and GD->LE optimizations
H.J. Lu [Fri, 27 Jan 2012 23:29:54 +0000 (23:29 +0000)] 
Support x32 GD->IE and GD->LE optimizations

2012-01-27  H.J. Lu  <hongjiu.lu@intel.com>

* x86_64.cc (Relocate::tls_gd_to_ie): Support x32.
(Relocate::tls_gd_to_le): Likewise.

12 years agoSupport x32 IFUNC function pointer
H.J. Lu [Fri, 27 Jan 2012 23:26:55 +0000 (23:26 +0000)] 
Support x32 IFUNC function pointer

2012-01-27  H.J. Lu  <hongjiu.lu@intel.com>

* x86_64.cc (Scan::global): Support x32 IFUNC function pointer.

12 years agoCheck if -mcmodel=medium works
H.J. Lu [Fri, 27 Jan 2012 23:23:37 +0000 (23:23 +0000)] 
Check if -mcmodel=medium works

2012-01-27  H.J. Lu  <hongjiu.lu@intel.com>

* configure.ac: Check if -mcmodel=medium works.
* configure: Regenerated.

12 years agodaily update
Alan Modra [Fri, 27 Jan 2012 23:00:06 +0000 (23:00 +0000)] 
daily update

12 years agogdb/
Jan Kratochvil [Fri, 27 Jan 2012 20:31:13 +0000 (20:31 +0000)] 
gdb/
Fix the 2012-01-26 regression by la_get_symbol_name_match_p.
* linespec.c (iterate_name_matcher): Negate the SYMBOL_NAME_MATCH_P
result.

12 years ago2012-01-27 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 27 Jan 2012 19:23:43 +0000 (19:23 +0000)] 
2012-01-27  Pedro Alves  <palves@redhat.com>

* linux-low.c (linux_child_pid_to_exec_file): Delete.
(elf_64_file_p): Make static.
(linux_pid_exe_is_elf_64_file): New.
* linux-low.h (linux_child_pid_to_exec_file, elf_64_file_p):
Delete declarations.
(linux_pid_exe_is_elf_64_file): Declare.
* linux-x86-low.c (x86_arch_setup): Use
linux_pid_exe_is_elf_64_file.

12 years ago * configure.ac (with_python): Fix absolute path handling for win32.
Doug Evans [Fri, 27 Jan 2012 18:23:12 +0000 (18:23 +0000)] 
* configure.ac (with_python): Fix absolute path handling for win32.
* configure: Regenerate.

12 years ago * bfd/elf32-microblaze.c (create_got_section):
Michael Eager [Fri, 27 Jan 2012 16:47:27 +0000 (16:47 +0000)] 
* bfd/elf32-microblaze.c (create_got_section):
Reuse existing .rela.got section.

12 years ago2012-01-27 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 27 Jan 2012 14:01:23 +0000 (14:01 +0000)] 
2012-01-27  Pedro Alves  <palves@redhat.com>

* gdb.base/watchpoint.exp (no_hw): New global.
(maybe_clean_restart, maybe_reinitialize): If no_hw is set,
disable hw watchpoints.
(test_wide_location_1, test_wide_location_2): If no_hw is set,
don't expect hw watchpoints.
(no_hw_watchpoints): Always clean restart.
(do_tests): New procedure, factored out from the top level.
(top level): Run tests twice.  Once with hw watchpoints enabled,
another time with hw watchpoints disabled.

12 years ago2012-01-27 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 27 Jan 2012 14:00:41 +0000 (14:00 +0000)] 
2012-01-27  Pedro Alves  <palves@redhat.com>

* gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
out from the top level.
(top level): Call it instead.

12 years ago2012-01-27 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 27 Jan 2012 13:59:57 +0000 (13:59 +0000)] 
2012-01-27  Pedro Alves  <palves@redhat.com>

* gdb.base/watchpoint.exp (top level): Re-enable hardware
watchpoints sooner.

12 years ago2012-01-27 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 27 Jan 2012 13:59:21 +0000 (13:59 +0000)] 
2012-01-27  Pedro Alves  <palves@redhat.com>

* gdb.base/watchpoint.exp (top level): Delete watch ival3.

12 years ago2012-01-27 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 27 Jan 2012 13:58:46 +0000 (13:58 +0000)] 
2012-01-27  Pedro Alves  <palves@redhat.com>

* gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
"You may have requested too many hardware
breakpoints/watchpoints".

12 years ago2012-01-27 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 27 Jan 2012 13:58:11 +0000 (13:58 +0000)] 
2012-01-27  Pedro Alves  <palves@redhat.com>

* gdb.base/watchpoint.exp (maybe_clean_restart)
(maybe_reinitialize): New.
(test_disabling_watchpoints): Call maybe_reinitialize.  Don't
expect "hit N times".
(test_disabling_watchpoints, test_complex_watchpoint)
(test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
Call maybe_clean_restart.
(top level): Use clean_restart.  Remove "mips-idt-*"
reinitialization.

12 years ago2012-01-27 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 27 Jan 2012 13:56:56 +0000 (13:56 +0000)] 
2012-01-27  Pedro Alves  <palves@redhat.com>

* gdb.base/watchpoint.exp: Always run test_complex_watchpoint.

12 years ago2012-01-27 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 27 Jan 2012 13:55:58 +0000 (13:55 +0000)] 
2012-01-27  Pedro Alves  <palves@redhat.com>

* gdb.base/watchpoint.exp: Clean restart after tests that don't
require `initialize' anymore.  Remove unnecessary `initialize'
calls.

12 years ago2012-01-27 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 27 Jan 2012 13:54:52 +0000 (13:54 +0000)] 
2012-01-27  Pedro Alves  <palves@redhat.com>

* gdb.base/watchpoint.exp (wp_set): Delete.
(initialize, test_simple_watchpoint, top level): Remove dead code.

12 years ago2012-01-27 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 27 Jan 2012 13:54:03 +0000 (13:54 +0000)] 
2012-01-27  Pedro Alves  <palves@redhat.com>

* gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
typo.

12 years ago2012-01-27 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 27 Jan 2012 13:02:22 +0000 (13:02 +0000)] 
2012-01-27  Pedro Alves  <palves@redhat.com>

* config/extended-gdbserver.exp: New file.
* lib/gdbserver-support.exp (gdbserver_start_extended): Extend
comment.
(gdbserver_start_multi, mi_gdbserver_start_multi): New.
* boards/native-extended-gdbserver.exp: New file.

12 years ago * gdb.textinfo (Packets): Move vCont paragraph to the correct place.
Thomas Schwinge [Fri, 27 Jan 2012 09:22:59 +0000 (09:22 +0000)] 
* gdb.textinfo (Packets): Move vCont paragraph to the correct place.

12 years ago*** empty log message ***
gdbadmin [Fri, 27 Jan 2012 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

12 years ago * symtab.c: Whitespace cleanup, no code changes.
Doug Evans [Thu, 26 Jan 2012 23:41:54 +0000 (23:41 +0000)] 
* symtab.c: Whitespace cleanup, no code changes.

12 years ago * symtab.c (lookup_symbol_in_language): Improve comment.
Doug Evans [Thu, 26 Jan 2012 23:22:23 +0000 (23:22 +0000)] 
* symtab.c (lookup_symbol_in_language): Improve comment.
(lookup_symbol_aux): Fix comment.

12 years agodaily update
Alan Modra [Thu, 26 Jan 2012 23:00:04 +0000 (23:00 +0000)] 
daily update

12 years ago * dwarf2.h (enum dwarf_form): Add Fission extensions.
Cary Coutant [Thu, 26 Jan 2012 22:57:17 +0000 (22:57 +0000)] 
* dwarf2.h (enum dwarf_form): Add Fission extensions.
(enum dwarf_attribute): Likewise.

12 years ago * psymtab.c (add_psymbol_to_list): Result is now "void".
Doug Evans [Thu, 26 Jan 2012 22:19:59 +0000 (22:19 +0000)] 
* psymtab.c (add_psymbol_to_list): Result is now "void".
* psympriv.h (add_psymbol_to_list): Update.

12 years ago * dwarf2read.c (add_partial_symbol): Delete local psym, unused.
Doug Evans [Thu, 26 Jan 2012 22:01:36 +0000 (22:01 +0000)] 
* dwarf2read.c (add_partial_symbol): Delete local psym, unused.

12 years agogdb/
Jan Kratochvil [Thu, 26 Jan 2012 21:54:45 +0000 (21:54 +0000)] 
gdb/
Do not open script filenames twice.
* cli/cli-cmds.c (source_script_from_stream): Pass to
source_python_script also STREAM.
* python/py-auto-load.c (source_section_scripts): Pass to
source_python_script_for_objfile also STREAM.
(auto_load_objfile_script): Pass to source_python_script_for_objfile
also INPUT.
* python/python-internal.h (source_python_script_for_objfile): New
parameter file, rename parameter file to filename.
* python/python.c (python_run_simple_file): Call PyRun_SimpleFile
instead if !_WIN32.  Update the function comment.
(source_python_script, source_python_script_for_objfile)
(source_python_script): New parameter file, rename parameter file to
filename.  Pass FILENAME to python_run_simple_file.
* python/python.h (source_python_script): New parameter file, rename
parameter file to filename.

12 years ago2012-01-26 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 26 Jan 2012 16:44:29 +0000 (16:44 +0000)] 
2012-01-26  Pedro Alves  <palves@redhat.com>

* corelow.c (core_has_fake_pid): Delete.
(core_close): Delete references to `core_has_fake_pid'.
(add_to_thread_list): Adjust to mark the inferior's pid as fake.
(core_open): Delete references to `core_has_fake_pid'.
(core_pid_to_str): Adjust to check inferior->fake_pid_p instead of
the removed global.

12 years ago PR gas/13624
Nick Clifton [Thu, 26 Jan 2012 14:56:49 +0000 (14:56 +0000)] 
PR gas/13624
* app.c (app_push): Set 'add_newlines' to zero after saving.

12 years ago * make-relative-prefix.c (make_relative_prefix_1): Avoid warning
Jakub Jelinek [Thu, 26 Jan 2012 14:28:31 +0000 (14:28 +0000)] 
* make-relative-prefix.c (make_relative_prefix_1): Avoid warning
about using preprocessor directives inside of macro arguments.

12 years ago2012-01-26 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 26 Jan 2012 10:50:59 +0000 (10:50 +0000)] 
2012-01-26  Pedro Alves  <palves@redhat.com>

* gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
and gdb_test_multiple.

12 years ago2012-01-26 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 26 Jan 2012 10:09:43 +0000 (10:09 +0000)] 
2012-01-26  Pedro Alves  <palves@redhat.com>

Make test messages unique, and more identifiable.
* gdb.multi/watchpoint-multi.exp: Change test messages.

12 years ago PR binutils/13622
Nick Clifton [Thu, 26 Jan 2012 09:59:30 +0000 (09:59 +0000)] 
PR binutils/13622
* readelf.c (process_section_groups): If there are no section
headers do not scan for section groups.
(process_note_sections): Likewise for note sections.

12 years agoRemove language param from name_matcher in struct quick_symbol_functions
Joel Brobecker [Thu, 26 Jan 2012 04:21:40 +0000 (04:21 +0000)] 
Remove language param from name_matcher in struct quick_symbol_functions

The quick_symbol_functions struct contains a field which is pointer
a function which takes another function, called name_matcher, as
its parameter.  This name_matcher currently has 3 arguments, one
of them being the language. This parameter is no longer used, and
thus deleted.

gdb/ChangeLog:

        * symfile.h (struct quick_symbol_functions) [expand_symtabs_matching]:
        Remove language parameter from name_matcher.  Adjust the comment.
        * symtab.c (search_symbols_name_matches, expand_partial_symbol_name):
        Remove language parameter.
        * ada-lang.c (ada_expand_partial_symbol_name): Likewise.
        * linespec.c (iterate_name_matcher): Likewise.
        * dwarf2read.c (dw2_expand_symtabs_matching): Adjust type of
        name_matcher.  Adjust call accordingly.
        * psymtab.c (expand_symtabs_matching_via_partial): Likewise.
        (maintenance_check_symtabs): Adjust type of parameter "fun".
        * psymtab.h (maintenance_check_symtabs): Likewise.

12 years agoAda: allow unqualified function names in linespecs
Joel Brobecker [Thu, 26 Jan 2012 04:20:36 +0000 (04:20 +0000)] 
Ada: allow unqualified function names in linespecs

This is the meat, where we replace the old la_symbol_name_compare
language method with the new ada_get_symbol_name_match_p.
It fixes the problem when trying to insert a breakpoint on "+".

gdb/ChangeLog:

        * language.h (symbol_name_match_p_ftype): New typedef.
        (struct language_defn): Replace field la_symbol_name_compare
        by la_get_symbol_name_match_p.
        * ada-lang.c (ada_get_symbol_name_match_p): New function.
        (ada_language_defn): Use it.
        * linespec.c (struct symbol_matcher_data): New type.
        (iterate_name_matcher): Rewrite.
        (iterate_over_all_matching_symtabs): Pass a pointer to
        a symbol_matcher_data struct to expand_symtabs_matching
        instead of just the lookup name.
        * c-lang.c, d-lang.c, jv-lang.c, m2-lang.c, objc-lang.c,
        opencl-lang.c, p-lang.c, language.c: Delete field
        la_symbol_name_compare, and replace by NULL for new field
        la_get_symbol_name_match_p.
        * symfile.h (struct quick_symbol_functions): Update comment.

12 years ago*** empty log message ***
gdbadmin [Thu, 26 Jan 2012 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

12 years agodaily update
Alan Modra [Wed, 25 Jan 2012 23:00:06 +0000 (23:00 +0000)] 
daily update

12 years agogdb/gdbserver/
Jan Kratochvil [Wed, 25 Jan 2012 18:25:13 +0000 (18:25 +0000)] 
gdb/gdbserver/
* linux-low.c (linux_wait_for_event_1): Rename to ...
(linux_wait_for_event): ... here and merge it with former
linux_wait_for_event - new variable wait_ptid, use it.
(linux_wait_for_event): Remove - merge it to linux_wait_for_event_1.

12 years ago * gdb.base/solib-disc.exp: Fix regexps.
Tom Tromey [Wed, 25 Jan 2012 16:20:31 +0000 (16:20 +0000)] 
* gdb.base/solib-disc.exp: Fix regexps.

12 years ago * breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before
Tom Tromey [Wed, 25 Jan 2012 15:57:04 +0000 (15:57 +0000)] 
* breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before
dereferencing.

12 years ago * int_encoding.cc (read_unsigned_LEB_128): Replaced with inline
Cary Coutant [Wed, 25 Jan 2012 07:34:55 +0000 (07:34 +0000)] 
* int_encoding.cc (read_unsigned_LEB_128): Replaced with inline
definition and ...
(read_unsigned_LEB_128_x): ... this new function.
(read_signed_LEB_128): Replaced with inline definition and ...
(read_signed_LEB_128_x): ... this new function.
* int_encoding.h  (read_unsigned_LEB_128_x): New function.
(read_unsigned_LEB_128): Add inline definition.
(read_signed_LEB_128_x): New function.
(read_signed_LEB_128): Add inline definition.
* testsuite/Makefile.am (leb128_unittest): New unit test.
* testsuite/Makefile.in: Regenerate.
* testsuite/leb128_unittest.cc: New unit test.

12 years ago* rl78-decode.opc (rl78_decode_opcode): Add NOT1.
DJ Delorie [Wed, 25 Jan 2012 01:40:11 +0000 (01:40 +0000)] 
* rl78-decode.opc (rl78_decode_opcode): Add NOT1.
* rl78-decode.c: Regenerate.

* config/rl78-parse.y (NOT1): Add.

This page took 0.043214 seconds and 4 git commands to generate.