platform/upstream/binutils.git
12 years agodaily update
Alan Modra [Mon, 9 Apr 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Mon, 9 Apr 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agosim: bfin: drop excess space in negation insn
Mike Frysinger [Sun, 8 Apr 2012 20:48:20 +0000 (20:48 +0000)]
sim: bfin: drop excess space in negation insn

The amod1 helper includes a leading space so it can expand into the empty
string when need be, which means the caller need not add spacing itself.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years ago* sparc64-tdep.c (sparc64_store_arguments): Fix handling of
Mark Kettenis [Sun, 8 Apr 2012 05:42:53 +0000 (05:42 +0000)]
* sparc64-tdep.c (sparc64_store_arguments): Fix handling of
complex floats, adjust some related comments and tighten a related
assertion.
(sparc64_extract_return_value): Handle complex floats.

12 years ago*** empty log message ***
gdbadmin [Sun, 8 Apr 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sun, 8 Apr 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago* gdb.base/funcargs.exp (complex_args): Fix typo.
Mark Kettenis [Sat, 7 Apr 2012 20:01:59 +0000 (20:01 +0000)]
* gdb.base/funcargs.exp (complex_args): Fix typo.

12 years ago * dwarf2read.c (load_partial_dies): Change condition to assert.
Doug Evans [Sat, 7 Apr 2012 19:35:17 +0000 (19:35 +0000)]
* dwarf2read.c (load_partial_dies): Change condition to assert.

12 years agogas/testsuite/
David S. Miller [Sat, 7 Apr 2012 14:16:35 +0000 (14:16 +0000)]
gas/testsuite/

* gas/all/gas.exp: Sparc can handle BFD_RELOC_8 for constants.

ld/testsuite/

* ld-sparc/tlssunbin32.rd: Fix regexp.
* ld-sparc/tlssunbin64.rd: Likewise.

12 years ago*** empty log message ***
gdbadmin [Sat, 7 Apr 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sat, 7 Apr 2012 00:00:06 +0000 (00:00 +0000)]
daily update

12 years ago * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
Maciej W. Rozycki [Fri, 6 Apr 2012 22:02:43 +0000 (22:02 +0000)]
* doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
-mno-fix-24k.

12 years ago * amd64-tdep.c (amd64_analyze_prologue): Recognize both variations of
Doug Evans [Fri, 6 Apr 2012 21:52:22 +0000 (21:52 +0000)]
* amd64-tdep.c (amd64_analyze_prologue): Recognize both variations of
"mov %rsp,%rbp".

12 years ago * timer.cc: #include <unistd.h>.
Ian Lance Taylor [Fri, 6 Apr 2012 17:21:55 +0000 (17:21 +0000)]
* timer.cc: #include <unistd.h>.

12 years agobinutils/
Roland McGrath [Fri, 6 Apr 2012 16:49:02 +0000 (16:49 +0000)]
binutils/
2012-04-06  Roland McGrath  <mcgrathr@google.com>

* configure.in (AC_CHECK_HEADERS): Add locale.h.
* config.in: Regenerate.
* configure: Regenerate.

gas/
2012-04-06  Roland McGrath  <mcgrathr@google.com>

* configure.in (AC_CHECK_HEADERS): Add locale.h.
* config.in: Regenerate.
* configure: Regenerate.

gold/
2012-04-06  Roland McGrath  <mcgrathr@google.com>

* configure.in (AC_CHECK_HEADERS): Add locale.h.
* config.in: Regenerate.
* configure: Regenerate.

ld/
2012-04-06  Roland McGrath  <mcgrathr@google.com>

* configure.in (AC_CHECK_HEADERS): Add locale.h.
* config.in: Regenerate.
* configure: Regenerate.

12 years agogdb/testsuite/
Jan Kratochvil [Fri, 6 Apr 2012 06:42:08 +0000 (06:42 +0000)]
gdb/testsuite/
* gdb.trace/change-loc.exp (tracepoint_change_loc_1)
(tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.

12 years agodaily update
Alan Modra [Fri, 6 Apr 2012 00:00:06 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Fri, 6 Apr 2012 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * v850-tdep.c (E_NUM_OF_V850_REGS, E_NUM_OF_V850E_REGS): Fix
Kevin Buettner [Thu, 5 Apr 2012 23:55:03 +0000 (23:55 +0000)]
* v850-tdep.c (E_NUM_OF_V850_REGS, E_NUM_OF_V850E_REGS): Fix
fencepost error.
(v850_frame_cache): Use gdbarch_num_regs() instead of E_NUM_REGS.
(v850_gdbarch_init): Set `num_regs' as appropriate for the
architecture.

12 years agolinespec rewrite:
Keith Seitz [Thu, 5 Apr 2012 18:50:29 +0000 (18:50 +0000)]
linespec rewrite:
* linespec.c (decode_compound): Remove.
(enum offset_relative_sign): New enum.
(struct line_offset): New struct.
(struct linespec): New struct.
(struct linespec_state): Move file_symtabs,
user_filename, and user_function into struct linespec.
Make result an anonymous struct holding vectors of
symbolp and minsym_and_objfile_d.
Add language member.
(enum ls_token_type): New enum.
(linespec_keywords): New array.
(struct ls_token): New struct.
(struct ls_parser): New struct.
(linespec_lexer_lex_number): New function.
(linespec_lexer_lex_keyword): New function.
(is_ada_operator): New function.
(skip_quote_char): New function.
(copy_token_string): New function.
(is_closing_quote_enclosed): New function.
(find_parameter_list_end): New function.
(linespec_lexer_lex_string): New function.
(linespec_lexer_lex_one): New function.
(linespec_lexer_consume_token): New function.
(linespec_lexer_peek_token): New function.
(cplusplus_error): Remove unused function.
(find_methods): Update comment.
(find_toplevel_char): Return const.
(is_objc_method_format): Remove unused function.
(find_toplevel_string): New function.
(is_linespec_boundary): Remove.
(symbol_not_found_error): New function.
(find_method_overload_end): Remove function.
(unexpected_linespec_error): New function.
(keep_name_info): Remove.
(linespec_parse_line_offset): New function.
(linespec_parse_basic): New function.
(canonicalize_linespec): New function.
(decode_line_internal): Remove.
(create_sals_line_offset): New function adapted from
decode_all_digits.
(convert_linespec_to_sals): New function.
(parse_linespec): New function.
(linespec_parser_new): New function.
(linespec_state_destructor): Change parameter type to
struct linespec_state *.
Add language parameter.
Remove freeing of moved members.
(linespec_parser_delete): New function.
(decode_line_full): Use parse_linespec and linespec_parser_new.
(decode_line_1): Likewise.
(decode_indirect): Rename to ...
(linespec_expression_to_pc): ... this and rewrite
to simply find CORE_ADDR, storing this result for later
conversion to SALs.
(locate_first_half): Remove.
(deocde_objc): Add parameter LS.
Initialize new struct collect_info members.
Handle minimal symbols, too.
(decode_compound): Delete.
(lookup_prefix_sym): Rewrite.
(compare_msymbols): New function.
(find_method): Rewrite.
Do not call cplusplus_error.
(symtabs_from_filename): Rewrite.
(collect_function_symbols): Delete.
(find_function_symbols): Rewrite without ARGPTR-style
processing.
(decode_all_digits): Delete. (Rewritten as create_sals_line_offset.)
(decode_dollar): Adapted and renamed to ...
(linespec_parse_variable): ... this.
(find_linespec_symbols): New function.
(decode_label): Adapted and renamed to ...
(find_label_symbols): ... this.
(decode_digits_list_mode): Add and use LS argument.
(decode_digits_ordinary): Likewise.
(collect_symbols): Do not collect SALs, just symbols and msymbols.
If in list mode, allow any symbol class.  Otherwise, only
permit LOC_BLOCK symbols.
(minsym_found): Update comments.
(search_minsyms_for_name): Do not convert the matching symbol
into a SAL.  Simply push the symbol and objfile into the
result vector.
(decode_variable): Delete. Contents adapted into
find_linespec_symbols.

* cp-support.c (SKIP_SPACE): Remove.
(operator_tokens): Remove unused global.
(cp_validate_operator): Remove.
* cp-support.h (cp_validate_operator): Remove declaration.

* gdb.base/advance.exp: Update error message for
"advance malformed" test.
* gdb.base/break.exp: Likewise for "breakpoint with
trailing garbage" test.
* gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
with trailing garbage" test.
* gdb.base/jump.exp: Likewise for "jump with trailing
argument junk" test.
* gdb.base/sepdebug.exp: Likewise for "breakpoint with
trailng garbage" test.
* gdb.base/until.exp: Likewise for "malformed until" test.
* gdb.cp/ovldbreak.exp: Create the breakpoint table
for "breakpoint info (after setting on all)".
* gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
tests.
* gdb.cp/cplabel.cc: New file.
* gdb.cp/cplabel.exp: New test.
* gdb.linespec/ls-errs.c: New file.
* gdb.linespec/ls-errs.exp: New test.

12 years ago2012-04-05 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 5 Apr 2012 11:20:50 +0000 (11:20 +0000)]
2012-04-05  Pedro Alves  <palves@redhat.com>

-Werror=strict-aliasing

* spu-low.c (parse_spufs_run): Avoid dereferencing type-punned
pointer.

12 years ago * configure.in (AC_CHECK_FUNCS): Add setlocale.
Nick Clifton [Thu, 5 Apr 2012 08:43:41 +0000 (08:43 +0000)]
* configure.in (AC_CHECK_FUNCS): Add setlocale.
(AM_LC_MESSAGES): Add.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.

12 years agodaily update
Alan Modra [Thu, 5 Apr 2012 00:00:05 +0000 (00:00 +0000)]
daily update

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

12 years ago2012-04-04 Pedro Alves <palves@redhat.com>
Pedro Alves [Wed, 4 Apr 2012 14:42:15 +0000 (14:42 +0000)]
2012-04-04  Pedro Alves  <palves@redhat.com>

* linux-sparc-low.c (sparc_fill_gregset_to_stack)
(sparc_store_gregset_from_stack, sparc_store_gregset)
(sparc_breakpoint_at): Fix formatting.

12 years ago*** empty log message ***
gdbadmin [Wed, 4 Apr 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Wed, 4 Apr 2012 00:00:06 +0000 (00:00 +0000)]
daily update

12 years ago* config/rx-parse.y: Make the .L optional for ADC and SBB.
DJ Delorie [Tue, 3 Apr 2012 19:06:40 +0000 (19:06 +0000)]
* config/rx-parse.y: Make the .L optional for ADC and SBB.

12 years agobfd/
Roland McGrath [Tue, 3 Apr 2012 16:01:38 +0000 (16:01 +0000)]
bfd/
2012-04-03  Roland McGrath  <mcgrathr@google.com>

* elf-nacl.c: New file.
* elf-nacl.h: New file.
* elf32-i386.c (elf_backend_modify_segment_map): Define for
bfd_elf32_i386_nacl_vec.
(elf_backend_modify_program_headers): Likewise.
* elf64-x86-64.c (elf_backend_modify_segment_map): Define for
bfd_elf64_x86_64_nacl_vec and bfd_elf32_x86_64_nacl_vec.
(elf_backend_modify_program_headers): Likewise.
* Makefile.am (BFD32_BACKENDS, BFD64_BACKENDS): Add elf-nacl.lo here.
(BFD32_BACKENDS_CFILES, BFD64_BACKENDS_CFILES): Add elf-nacl.c here.
* Makefile.in: Regenerated.
* configure.in (bfd_elf64_x86_64_nacl_vec): Add elf-nacl.o to tb here.
(bfd_elf32_x86_64_nacl_vec): Likewise.
(bfd_elf64_x86_64_vec, bfd_elf32_x86_64_vec): Likewise.
(bfd_elf64_x86_64_freebsd_vec, bfd_elf64_x86_64_sol2_vec): Likewise.
(bfd_elf64_l1om_vec, bfd_elf64_l1om_freebsd_vec): Likewise.
(bfd_elf64_k1om_vec, bfd_elf64_k1om_freebsd_vec): Likewise.
(bfd_elf32_i386_nacl_vec): Likewise.
(bfd_elf32_i386_sol2_vec, bfd_elf32_i386_freebsd_vec): Likewise.
(bfd_elf32_i386_vxworks_vec, bfd_elf32_i386_vec): Likewise.
* configure: Regenerated.

binutils/testsuite/
2012-04-03  Roland McGrath  <mcgrathr@google.com>

* lib/binutils-common.exp (is_elf_format): Consider *-*-nacl* to
be ELF too.

* binutils-all/elfedit-4.d: Add "#as: --64" option.

* binutils-all/i386/i386.exp: Accept nacl targets too.
* binutils-all/x86-64/x86-64.exp: Likewise.

gas/testsuite/
2012-04-03  Roland McGrath  <mcgrathr@google.com>

* gas/i386/k1om.d: Add not-target match for *-*-nacl*.
* gas/i386/l1om.d: Likewise.

ld/
2012-04-03  Roland McGrath  <mcgrathr@google.com>

* configure.tgt (i[3-7]86-*-nacl*, x86_64-*-nacl*): Handle them.
* emulparams/elf_nacl.sh: New file.
* emulparams/elf_i386_nacl.sh: New file.
* emulparams/elf32_x86_64_nacl.sh: New file.
* emulparams/elf_x86_64_nacl.sh: New file.
* Makefile.am (ALL_EMULATION_SOURCES): Add eelf_i386_nacl.c here.
(ALL_64_EMULATION_SOURCES): Add eelf32_x86_64_nacl.c and
eelf_x86_64_nacl.c here.
(eelf_i386_nacl.c, eelf32_x86_64_nacl.c, eelf_x86_64_nacl.c):
New targets.
* Makefile.in: Regenerated.

* scripttempl/elf.sc: Handle SEPARATE_CODE cases.

ld/testsuite/
2012-04-03  Roland McGrath  <mcgrathr@google.com>

* ld-x86-64/ilp32-4-nacl.d: New file.
* ld-x86-64/x86-64.exp: Run it.

* ld-discard/discard.exp: Accept nacl targets too.
* ld-elf/binutils.exp: Likewise.
* ld-elf/comm-data.exp: Likewise.
* ld-elf/elf.exp: Likewise.
* ld-elf/tls_common.exp: Likewise.
* ld-elfvers/vers.exp: Likewise.
* ld-elfvsb/elfvsb.exp: Likewise.
* ld-elfweak/elfweak.exp: Likewise.
* ld-gc/gc.exp: Likewise.
* ld-ifunc/binutils.exp: Likewise.
* ld-ifunc/ifunc.exp: Likewise.
* ld-linkonce/linkonce.exp:Likewise.
* ld-pie/pie.exp: Likewise.
* ld-shared/shared.exp: Likewise.
* ld-undefined/weak-undef.exp: Likewise.
* ld-unique/unique.exp: Likewise.
* ld-x86-64/dwarfreloc.exp: Likewise.
* ld-x86-64/line.exp: Likewise.

* lib/ld-lib.exp (slurp_options): Support global array
options_regsub to apply substitutions to the contents
of options lines read from the file.
* ld-i386/emit-relocs.d: Renamed to ...
* ld-i386/emit-relocs.rd: ... this.
* ld-i386/i386.exp: Accept nacl targets too.
For them, use options_regsub to replace elf_i386 with
elf_i386_nacl in run_dump_test cases; apply the same
substitution in $i386tests; replace foo.rd expectations
files with foo-nacl.rd in $i386tests.
(i386tests): Change emit-relocs.d to emit-relocs.rd here.
* ld-i386/emit-relocs-nacl.rd: New file.
* ld-i386/plt-nacl.pd: New file.
* ld-i386/plt-pic-nacl.pd: New file.
* ld-i386/tlsbin-nacl.rd: New file.
* ld-i386/tlsbindesc-nacl.rd: New file.
* ld-i386/tlsdesc-nacl.rd: New file.
* ld-i386/tlsgdesc-nacl.rd: New file.
* ld-i386/tlsnopic-nacl.rd: New file.
* ld-i386/tlspic-nacl.rd: New file.
* ld-x86-64/x86-64.exp: Accept nacl targets too.
For them, use options_regsub to replace elf_x86_64 with
elf_x86_64_nacl in run_dump_test cases; apply the same
substitution in $x86_64tests; replace foo.rd expectations
files with foo-nacl.rd in $x86_64tests.
Add explicit -melf_x86_64 to ld options in tests that need it,
in case the default emulation is x32 (as it is for x86_64-nacl).
* ld/testsuite/ld-x86-64/plt-nacl.pd: New file.
* ld/testsuite/ld-x86-64/split-by-file-nacl.rd: New file.
* ld/testsuite/ld-x86-64/tlsbin-nacl.rd: New file.
* ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd: New file.
* ld/testsuite/ld-x86-64/tlsdesc-nacl.pd: New file.
* ld/testsuite/ld-x86-64/tlsdesc-nacl.rd: New file.
* ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd: New file.
* ld/testsuite/ld-x86-64/tlspic-nacl.rd: New file.

* ld-i386/hidden2.d: Loosen regexps to match any file format variant,
and not to depend on exact addresses, displacements, etc. where
they are irrelevant.
* ld-i386/pcrel16.d: Likewise.
* ld-i386/pcrel16abs.d: Likewise.
* ld-i386/pr12718.d: Likewise.
* ld-i386/pr12921.d: Likewise.
* ld-i386/reloc.d: Likewise.
* ld-i386/tlsbin.dd: Likewise.
* ld-i386/tlsbin.sd: Likewise.
* ld-i386/tlsbin.td: Likewise.
* ld-i386/tlsbindesc.dd: Likewise.
* ld-i386/tlsbindesc.sd: Likewise.
* ld-i386/tlsbindesc.td: Likewise.
* ld-i386/tlsdesc.dd: Likewise.
* ld-i386/tlsdesc.sd: Likewise.
* ld-i386/tlsdesc.td: Likewise.
* ld-i386/tlsg.sd: Likewise.
* ld-i386/tlsgdesc.dd: Likewise.
* ld-i386/tlsindntpoff.dd: Likewise.
* ld-i386/tlsnopic.dd: Likewise.
* ld-i386/tlsnopic.sd: Likewise.
* ld-i386/tlspic.dd: Likewise.
* ld-i386/tlspic.sd: Likewise.
* ld-i386/tlspic.td: Likewise.
* ld-i386/tlspie2.d: Likewise.
* ld-x86-64/hidden2.d: Likewise.
* ld-x86-64/pcrel16.d: Likewise.
* ld-x86-64/pr12718.d: Likewise.
* ld-x86-64/pr12921.d: Likewise.
* ld-x86-64/protected3.d: Likewise.
* ld-x86-64/tlsbin.dd: Likewise.
* ld-x86-64/tlsbin.sd: Likewise.
* ld-x86-64/tlsbin.td: Likewise.
* ld-x86-64/tlsbindesc.dd: Likewise.
* ld-x86-64/tlsbindesc.sd: Likewise.
* ld-x86-64/tlsbindesc.td: Likewise.
* ld-x86-64/tlsdesc.dd: Likewise.
* ld-x86-64/tlsdesc.sd: Likewise.
* ld-x86-64/tlsdesc.td: Likewise.
* ld-x86-64/tlsg.sd: Likewise.
* ld-x86-64/tlsgd5.dd: Likewise.
* ld-x86-64/tlsgd6.dd: Likewise.
* ld-x86-64/tlsgdesc.dd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.
* ld-x86-64/tlspic.sd: Likewise.
* ld-x86-64/tlspic.td: Likewise.

* ld-x86-64/ilp32-8.d: Match any file format variant.
Use a -Ttext and adjust expected results, to handle variant layouts.
* ld-x86-64/ilp32-9.d: Likewise.

* ld-i386/alloc.t: Remove superfluous OUTPUT_FORMAT statement.
* ld-i386/pr12627.t: Likewise.

* ld-x86-64/abs-l1om.d: Add target: constraint.
* ld-x86-64/protected2-l1om.d: Likewise.
* ld-x86-64/protected3-l1om.d: Likewise.
* ld-x86-64/ilp32-4.d: Likewise.

* ld-x86-64/plt.s: New file.
* ld-x86-64/pltlib.s: New file.
* ld-x86-64/plt.pd: New file.
* ld-x86-64/x86-64.exp (x86_64tests): Add them.

* ld-i386/plt.s: New file.
* ld-i386/pltlib.s: New file.
* ld-i386/plt.pd: New file.
* ld-i386/plt-pic.s: New file.
* ld-i386/plt-pic.pd: New file.
* ld-i386/i386.exp (i386tests): Add them.

12 years agogdb/
Jan Kratochvil [Tue, 3 Apr 2012 14:39:55 +0000 (14:39 +0000)]
gdb/
* cp-valprint.c (cp_print_value_fields): Check valprint_check_validity
for TYPE_VPTR_FIELDNO.
* valprint.c (valprint_check_validity): Make it global, move the
function comment ...
* value.h (valprint_check_validity): ... to this new declaration.

gdb/testsuite/
* gdb.trace/unavailable.exp
(collect globals: print object on: print derived_partial)
(collect globals: print object on: print derived_whole)
(collect globals: print object off: print derived_partial)
(collect globals: print object off: print derived_whole): Update
expected output.

12 years agold: optimize vfinfo output slightly
Mike Frysinger [Tue, 3 Apr 2012 03:37:26 +0000 (03:37 +0000)]
ld: optimize vfinfo output slightly

ld atm ends up calling the write() syscall on every char when displaying
an error message.  For example:
$ echo 'main(){foo();}' | strace -f -ewrite gcc -x c -o /dev/null -
...
[pid 13035] write(2, ":", 1)            = 1
[pid 13035] write(2, " ", 1)            = 1
[pid 13035] write(2, "I", 1)            = 1
[pid 13035] write(2, "n", 1)            = 1
[pid 13035] write(2, " ", 1)            = 1
[pid 13035] write(2, "f", 1)            = 1
[pid 13035] write(2, "u", 1)            = 1
[pid 13035] write(2, "n", 1)            = 1
[pid 13035] write(2, "c", 1)            = 1
[pid 13035] write(2, "t", 1)            = 1
[pid 13035] write(2, "i", 1)            = 1
[pid 13035] write(2, "o", 1)            = 1
[pid 13035] write(2, "n", 1)            = 1
[pid 13035] write(2, " ", 1)            = 1
[pid 13035] write(2, "`", 1)            = 1
...

That's just to write ": In function `main':".  A slight optimization in
the vfinfo() func gives a much more reasonable syscall footprint:
...
write(2, ": In function `", 15)         = 15
...

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years ago* config/rx-parse.y: IMM->IMM_, take an extra parameter for the
DJ Delorie [Tue, 3 Apr 2012 03:01:57 +0000 (03:01 +0000)]
* config/rx-parse.y: IMM->IMM_, take an extra parameter for the
transfer size.
(IMM): New, call IMM_ with the default 32.
(IMMW,IMMB): Likewise, for 16 and 8.
(NIMM, MBIMM): Add size parameter.
(immediate): Likewise.  Allow 32768..65535 for 16-bit transfers.
(MOV.W): Use IMMW instead of IMM.

* config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
(op_dp20_rm_l): New.
(op_dp20_rim_l): New.

* config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
(ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).

* gas/rx/mov.d: Update patterns for fixed MOV.W encoding.

12 years ago*** empty log message ***
gdbadmin [Tue, 3 Apr 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Tue, 3 Apr 2012 00:00:06 +0000 (00:00 +0000)]
daily update

12 years agomerge from gcc
DJ Delorie [Mon, 2 Apr 2012 18:50:29 +0000 (18:50 +0000)]
merge from gcc

12 years ago2012-04-02 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 2 Apr 2012 13:48:49 +0000 (13:48 +0000)]
2012-04-02  Tristan Gingold  <gingold@adacore.com>

* i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Use
the STATE32 api for i386 state.
(i386_darwin_store_inferior_registers): Likewise.

12 years ago2012-04-02 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 2 Apr 2012 13:15:48 +0000 (13:15 +0000)]
2012-04-02  Tristan Gingold  <gingold@adacore.com>

* i386-darwin-tdep.c (i386_darwin_thread_state_reg_offset): Fix
SS offset.
* i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix
format_string.

12 years ago2012-04-02 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 2 Apr 2012 11:57:30 +0000 (11:57 +0000)]
2012-04-02  Tristan Gingold  <gingold@adacore.com>

PR gdb/13901
* darwin-nat.c (darwin_execvp): Sey binary preference.

12 years agogdb/
Jan Kratochvil [Mon, 2 Apr 2012 07:32:31 +0000 (07:32 +0000)]
gdb/
* NEWS (set breakpoint condition-evaluation): Use imperative mood.

12 years agosim: fix spelling typo
Mike Frysinger [Mon, 2 Apr 2012 05:21:59 +0000 (05:21 +0000)]
sim: fix spelling typo

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

12 years agodaily update
Alan Modra [Mon, 2 Apr 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years agosim: bfin: throw VEC_ILGAL_I with 32bit insn in group1/group2 slots
Mike Frysinger [Sun, 1 Apr 2012 04:31:46 +0000 (04:31 +0000)]
sim: bfin: throw VEC_ILGAL_I with 32bit insn in group1/group2 slots

Parallel insns can only do one 32bit, then two 16bits.  So if we see
a 2nd 32bit insn after the first 32bit in a parallel insn, abort.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agosim: bfin: simplify field width processing and fix build warnings
Mike Frysinger [Sun, 1 Apr 2012 04:23:40 +0000 (04:23 +0000)]
sim: bfin: simplify field width processing and fix build warnings

This fix the build time warning:
warning: format not a string literal, argument types not checked [-Wformat-nonliteral]

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agosim: bfin: fix unused bfrom handling for BF535
Mike Frysinger [Sun, 1 Apr 2012 04:21:03 +0000 (04:21 +0000)]
sim: bfin: fix unused bfrom handling for BF535

machs.c: In function 'bfin_model_cpu_init':
machs.c:1657:1: warning: 'bfrom' may be used uninitialized
in this function [-Wuninitialized]

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoopcodes: bfin: simplify field width processing and fix build warnings
Mike Frysinger [Sun, 1 Apr 2012 04:15:43 +0000 (04:15 +0000)]
opcodes: bfin: simplify field width processing and fix build warnings

This fix the build time warning:
warning: format not a string literal, argument types not checked [-Wformat-nonliteral]

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agosim: bfin: fix build warning/style with auxvt_size
Mike Frysinger [Sun, 1 Apr 2012 02:39:12 +0000 (02:39 +0000)]
sim: bfin: fix build warning/style with auxvt_size

Fix warning about mixing decls and code by moving auxvt_size decl
down to the scope where it is used.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agodaily update
Alan Modra [Sun, 1 Apr 2012 00:00:35 +0000 (00:00 +0000)]
daily update

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

12 years agosim: bfin: fix typo in BF54x SIC init
Mike Frysinger [Sat, 31 Mar 2012 18:48:20 +0000 (18:48 +0000)]
sim: bfin: fix typo in BF54x SIC init

The current code triggers a warning:
dv-bfin_sic.c: In function 'bfin_sic_finish':
dv-bfin_sic.c:930:41: warning: operation on 'sic-><U78e8>.bf54x.iwr1'
may be undefined [-Wsequence-point]

This points out the IWR2 register was not being setup because of a typo.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agosim: bfin: include devices.h to fix build warnings
Mike Frysinger [Sat, 31 Mar 2012 18:44:43 +0000 (18:44 +0000)]
sim: bfin: include devices.h to fix build warnings

The place where these funcs get defined do not include the header that
declares their prototypes.  Add that to fix -Wmissing-prototypes:

devices.c:59:1: warning: no previous prototype for 'dv_bfin_mmr_invalid'
devices.c:66:1: warning: no previous prototype for 'dv_bfin_mmr_require'
devices.c:99:1: warning: no previous prototype for 'dv_bfin_mmr_check'
devices.c:159:14: warning: no previous prototype for 'dv_get_bus_num'

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years ago* elf32-m68k.c (elf_m68k_relocate_section): Allow
Andreas Schwab [Sat, 31 Mar 2012 14:27:33 +0000 (14:27 +0000)]
* elf32-m68k.c (elf_m68k_relocate_section): Allow
R_68K_TLS_LE{8,16,32} for PIE.

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

12 years agodaily update
Alan Modra [Fri, 30 Mar 2012 23:00:08 +0000 (23:00 +0000)]
daily update

12 years ago * configure.ac: Check whether Elf32_auxv_t and Elf64_auxv_t
Thiago Jung Bauermann [Fri, 30 Mar 2012 20:23:16 +0000 (20:23 +0000)]
* configure.ac: Check whether Elf32_auxv_t and Elf64_auxv_t
are available.
* linux-low.c [HAVE_ELF32_AUXV_T] (Elf32_auxv_t): Add typedef.
[HAVE_ELF64_AUXV_T] (Elf64_auxv_t): Likewise.
* config.in: Regenerate.
* configure: Likewise.

12 years ago * python/python.c (gdbpy_decode_line): Move cleanup creation out
Tom Tromey [Fri, 30 Mar 2012 20:05:55 +0000 (20:05 +0000)]
* python/python.c (gdbpy_decode_line): Move cleanup creation out
of TRY_CATCH.  Fix error handling.
* python/py-value.c (convert_value_from_python): Move 'old'
declaration to innermost scope.

12 years ago * gdb.python: Add test for linespecs with commas.
Keith Seitz [Fri, 30 Mar 2012 19:16:52 +0000 (19:16 +0000)]
* gdb.python: Add test for linespecs with commas.

12 years ago2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Fri, 30 Mar 2012 13:38:04 +0000 (13:38 +0000)]
2012-03-30  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* elf64-s390.c: Fix several comments regarding PLT entry
description.
* elf32-s390.c: Likewise.

12 years ago2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Fri, 30 Mar 2012 13:37:13 +0000 (13:37 +0000)]
2012-03-30  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* elf64-s390.c: Use the section pointer shortcuts in
elf_link_hash_table and remove them from the target specific
variant.
* elf32-s390.c: Likewise.

12 years ago2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Fri, 30 Mar 2012 13:36:22 +0000 (13:36 +0000)]
2012-03-30  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* elf64-s390.c (elf_s390x_plt_entry, elf_s390x_first_plt_entry):
New definitions.
(PLT_PIC_ENTRY_WORD*, PLT_PIC12_ENTRY_WORD*): Remove.
(elf_s390_finish_dynamic_symbol): Use memcpy instead of bfd_put_32.
(elf_s390_finish_dynamic_sections): Likewise.
* elf32-s390.c (elf_s390_plt_entry, elf_s390_plt_pic_entry)
(elf_s390_plt_pic12_entry, elf_s390_plt_pic16_entry)
(elf_s390_plt_first_entry, elf_s390_plt_pic_first_entry): New definitions.
(PLT_PIC16_ENTRY_WORD*, PLT_ENTRY_WORD*)
(PLT_PIC_FIRST_ENTRY_WORD*, PLT_FIRST_ENTRY_WORD*): Remove.

12 years ago2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Fri, 30 Mar 2012 13:35:33 +0000 (13:35 +0000)]
2012-03-30  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* elf32-s390.c (struct elf_s390_dyn_relocs): Remove.
Rename all occurrences in the file to elf_dyn_relocs.
* elf64-s390.c: Likewise.

12 years ago * po/vi.po: Updated Vietnamese translation.
Nick Clifton [Fri, 30 Mar 2012 12:54:48 +0000 (12:54 +0000)]
* po/vi.po: Updated Vietnamese translation.

12 years ago PR binutils/13925
Nick Clifton [Fri, 30 Mar 2012 12:51:07 +0000 (12:51 +0000)]
PR binutils/13925
* stabs.c (stab_demangle_v3_arglist): Cope with the demangler
returning an empty context for a function with no arguments.

12 years ago*** empty log message ***
gdbadmin [Fri, 30 Mar 2012 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years agoRename variables in ada-lang.c:ada_make_symbol_completion_list.
Joel Brobecker [Thu, 29 Mar 2012 23:30:55 +0000 (23:30 +0000)]
Rename variables in ada-lang.c:ada_make_symbol_completion_list.

This renaming allows us to have variable names that are consistent
with the names of the parameters in the functions where these
variables are used.  This also allows us to avoid a -Wshadow warning
in the case of variable "wild_match", which is now renamed to
"wild_match_p".

gdb/ChangeLog:

        -Wshadow warning fix.
        * ada-lang.c (ada_make_symbol_completion_list): Rename parameters
        "wild_match" and "encoded" into "wild_match_p" and "encoded_p".
        Adjust code accordingly.

12 years agoRename "encoded" parameter in ada-lang.c:symbol_completion_add...
Joel Brobecker [Thu, 29 Mar 2012 23:30:46 +0000 (23:30 +0000)]
Rename "encoded" parameter in ada-lang.c:symbol_completion_add...

... This is mostly to be consistent with the style used for the other
parameter of the same kind ("wild_match_p") in that function.

gdb/ChangeLog:

        * ada-lang.c (symbol_completion_add): Rename parameter
        "encoded" into "encoded_p".  Ajust code and documentation
        accordingly.

12 years agoRename "wild_match" parameter in ada-lang.c:symbol_completion_add...
Joel Brobecker [Thu, 29 Mar 2012 23:30:38 +0000 (23:30 +0000)]
Rename "wild_match" parameter in ada-lang.c:symbol_completion_add...

... to avoid a -Wshadow warning.

gdb/ChangeLog:

        -Wshadow warning fix.
        * ada-lang.c (symbol_completion_add): Rename parameter
        "wild_match" into wild_match_p.  Update code and documentation
        accordingly.

12 years agoRename "encoded" parameter in ada-lang.c:symbol_completion_match...
Joel Brobecker [Thu, 29 Mar 2012 23:30:29 +0000 (23:30 +0000)]
Rename "encoded" parameter in ada-lang.c:symbol_completion_match...

... This is mostly to be consistent with the style used for the other
parameter of the same kind ("wild_match_p") in that function.

gdb/ChangeLog:

        * ada-lang.c (symbol_completion_match): Rename parameter
        "encoded" into "encoded_p".  Ajust code and documentation
        accordingly.

12 years agoRename "wild_match" parameter in ada-lang.c:symbol_completion_match
Joel Brobecker [Thu, 29 Mar 2012 23:30:21 +0000 (23:30 +0000)]
Rename "wild_match" parameter in ada-lang.c:symbol_completion_match

gdb/ChangeLog:

        -Wshadow warning fix.
        * ada-lang.c (symbol_completion_match): Rename parameter
        "wild_match" into "wild_match_p".  Adjust code and function
        documentation accordingly.

12 years agorename "symbol_info" to "sym_info" in ada-lang.c...
Joel Brobecker [Thu, 29 Mar 2012 23:30:13 +0000 (23:30 +0000)]
rename "symbol_info" to "sym_info" in ada-lang.c...

... to avoid a -Wshadow warning with a symbol exported by BFD.

gdb/ChangeLog:

        -Wshadow warning fix.
        * ada-lang.c (ada_lookup_encoded_symbol): Rename parameter
        "symbol_info" into "info".  Adjust code accordingly.
        (ada_lookup_symbol): Likewise.

12 years agoMinor reformatting of ada_lookup_symbol_list's documentation.
Joel Brobecker [Thu, 29 Mar 2012 23:30:04 +0000 (23:30 +0000)]
Minor reformatting of ada_lookup_symbol_list's documentation.

This patch mostly removes a few trailing spaces.

gdb/ChangeLog:

        * ada-lang.c (ada_lookup_symbol_list): Minor reformatting
        of this function's documentation.

12 years agoRename "wild_match" variable in ada-lang.c:ada_lookup_symbol_list
Joel Brobecker [Thu, 29 Mar 2012 23:29:56 +0000 (23:29 +0000)]
Rename "wild_match" variable in ada-lang.c:ada_lookup_symbol_list

... to avoid -Wshadow warning...

gdb/ChangeLog:

        -Wshadow warning fix.
        * ada-lang.c (ada_lookup_symbol_list): Rename "wild_match"
        variable into "wild_match_p".  Adjust code accordingly.

12 years agoRename "wild_match" parameter in ada-lang.c:ada_add_local_symbols
Joel Brobecker [Thu, 29 Mar 2012 23:29:47 +0000 (23:29 +0000)]
Rename "wild_match" parameter in ada-lang.c:ada_add_local_symbols

... to avoid -Wshadow warning...

gdb/ChangeLog:

        -Wshadow warning fix.
        * ada-lang.c (ada_add_local_symbols): Rename "wild_match"
        parameter into "wild_match_p".  Adjust code accordingly.
        Document this parameter in the function description.

12 years agoRename "wild_match" parameter in add_symbols_from_enclosing_procs
Joel Brobecker [Thu, 29 Mar 2012 23:29:37 +0000 (23:29 +0000)]
Rename "wild_match" parameter in add_symbols_from_enclosing_procs

gdb/ChangeLog:

        -Wshadow warning fix.
        * ada-lang.c (add_symbols_from_enclosing_procs): Rename
        "wild_match" parameter to "wild_match_p" (-Wshadow).

12 years agoRemove trailing spaces in ada-lang.c:ada_lookup_simple_minsym doc.
Joel Brobecker [Thu, 29 Mar 2012 23:29:28 +0000 (23:29 +0000)]
Remove trailing spaces in ada-lang.c:ada_lookup_simple_minsym doc.

gdb/ChangeLog:

        * ada-lang.c (ada_lookup_simple_minsym): Remove trailing spaces
        in function documentation.

12 years agoFix -Wshadow warning in ada-lang.c:ada_lookup_simple_minsym
Joel Brobecker [Thu, 29 Mar 2012 23:29:19 +0000 (23:29 +0000)]
Fix -Wshadow warning in ada-lang.c:ada_lookup_simple_minsym

gdb/ChangeLog:

        -Wshadow warning fix.
        * ada-lang.c (ada_lookup_simple_minsym): Rename wild_match local
        variable into wild_match_p.  Adjust code accordingly.

12 years ago * elflink.c (_bfd_elf_gc_mark_reloc): Don't delve into dynamic
Alan Modra [Thu, 29 Mar 2012 23:17:37 +0000 (23:17 +0000)]
* elflink.c (_bfd_elf_gc_mark_reloc): Don't delve into dynamic
libraries.

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

12 years ago2012-03-29 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 29 Mar 2012 21:27:28 +0000 (21:27 +0000)]
2012-03-29  Pedro Alves  <palves@redhat.com>

* linux-low.c (regsets_store_inferior_registers) [__sparc__]:
Correct ptrace arguments.

12 years agoFix -Wshadow error in ada-valprint.c
Joel Brobecker [Thu, 29 Mar 2012 18:50:21 +0000 (18:50 +0000)]
Fix -Wshadow error in ada-valprint.c

gdb/ChangeLog:

        * ada-valprint.c (ada_val_print_1): Move the code handling
        TYPE_CODE_ENUM inside its own lexical block.  Declare
        variables len and val there, instead of in the function's
        top level block.  Avoid declaring deref_val again in a way
        that shadows another variable of the same name declared
        in one of the up-level blocks.  Just re-use the up-level
        variable instead.

12 years agoMake ada_lookup_encoded_symbol "return" a struct ada_symbol_info
Joel Brobecker [Thu, 29 Mar 2012 18:23:00 +0000 (18:23 +0000)]
Make ada_lookup_encoded_symbol "return" a struct ada_symbol_info

This makes ada_lookup_encoded_symbol more consistent with other functions
such as ada_lookup_symbol_list, and also makes it clearer in the code
using that function that symbol and block are related.

gdb/ChangeLog:

        * ada-lang.c (ada_lookup_encoded_symbol): Now returns void.
        Replace block_found argument by symbol_info.  Adjust
        implementation accordingly.  Add function documentation.
        (ada_lookup_symbol): Adjust to new ada_lookup_encoded_symbol.
        Fix documentation.
        * ada-lang.h (ada_lookup_encoded_symbol): Update declaration.
        * ada-exp.y (write_object_renaming): Adjust to new
        ada_lookup_encoded_symbol API.

12 years ago[Ada] struct ada_symbol_info minor reformatting & doc update.
Joel Brobecker [Thu, 29 Mar 2012 18:22:51 +0000 (18:22 +0000)]
[Ada] struct ada_symbol_info minor reformatting & doc update.

gdb/ChangeLog:

  * ada-lang.h (struct ada_symbol_info): Reformat.  Improve
  documentation.

12 years ago * bfd-in.h (bfd_get_arch_size, bfd_get_sign_extend_vma): Delete.
Alan Modra [Thu, 29 Mar 2012 13:22:43 +0000 (13:22 +0000)]
* bfd-in.h (bfd_get_arch_size, bfd_get_sign_extend_vma): Delete.
* bfd-in2.h: Regenerate.

12 years ago2012-03-29 Terry Guo <terry.guo@arm.com>
Matthew Gretton-Dann [Thu, 29 Mar 2012 10:28:40 +0000 (10:28 +0000)]
2012-03-29  Terry Guo  <terry.guo@arm.com>

* gas/config/tc-arm.c (arm_cpus): Add cortex-m0plus.
* gas/doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.

12 years ago * dwarf.c (display_gdb_index): Handle index version 6.
Tom Tromey [Thu, 29 Mar 2012 01:55:41 +0000 (01:55 +0000)]
* dwarf.c (display_gdb_index): Handle index version 6.

12 years agoCommit gdb and sim support for v850e2 and v850e2v3 on behalf of
Kevin Buettner [Thu, 29 Mar 2012 00:57:19 +0000 (00:57 +0000)]
Commit gdb and sim support for v850e2 and v850e2v3 on behalf of
Rathish C <Rathish.C@kpitcummins.com>.

12 years ago*** empty log message ***
gdbadmin [Thu, 29 Mar 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Wed, 28 Mar 2012 23:00:04 +0000 (23:00 +0000)]
daily update

12 years ago[NEWS] Announce support for Ada varobj support.
Joel Brobecker [Wed, 28 Mar 2012 21:31:56 +0000 (21:31 +0000)]
[NEWS] Announce support for Ada varobj support.

gdb/ChangeLog:

        * NEWS: Add entry for Ada varobj support.

12 years ago[doco] document the "type_changed" flag further.
Joel Brobecker [Wed, 28 Mar 2012 21:31:46 +0000 (21:31 +0000)]
[doco] document the "type_changed" flag further.

gdb/doc/ChangeLog:

        * gdb.texinfo (GDB/MI Variable Objects): Document what happens
        to the children of a varobj and its update range when -var-update
        returns that the varobj's type changed.

12 years agoNew varobj language callback: value_is_changeable_p.
Joel Brobecker [Wed, 28 Mar 2012 21:31:29 +0000 (21:31 +0000)]
New varobj language callback: value_is_changeable_p.

This patch introduces a new language-specific callback for varobj
objects, allowing us to move the language-specific bits of the
varobj_value_is_changeable_p routine to language-specific functions.
This is more elegant than testing for the varobj's language...

gdb/ChangeLog:

        * varobj.c (default_value_is_changeable_p): New function,
        extracted from varobj_value_is_changeable_p.  Add declaration.
        (ada_value_is_changeable_p): New function, extracted from
        varobj_value_is_changeable_p.  Add declaration.
        (struct language_specific): New field "value_is_changeable_p".
        (languages): Add entries for new field.
        (varobj_create): Set language before calling install_new_value.
        (varobj_value_is_changeable_p): Reimplement to call the varobj's
        "value_is_changeable_p" language callback.

12 years agoVarobj support for Ada.
Joel Brobecker [Wed, 28 Mar 2012 21:31:18 +0000 (21:31 +0000)]
Varobj support for Ada.

This patch adds varobj support for Ada variables.  Most of the code
is implemented in a separate Ada-specific file called ada-varobj.c.
The only bits in varobj.c are the functions used as the hooks in
the language-specific varobj's vector.

gdb/ChangeLog:

        * ada-varobj.h, ada-varobj.c: New files.
        * Makefile.in (SFILES): Add ada-varobj.c.
        (HFILES_NO_SRCDIR): Add ada-varobj.h.
        (COMMON_OBS): Add ada-varobj.o.

12 years agoframework for varobj type mutation
Joel Brobecker [Wed, 28 Mar 2012 21:31:05 +0000 (21:31 +0000)]
framework for varobj type mutation

This patch introduces the framework necessary to support type mutations.
The only language that currently provides a language-specific hook for
that feature is Ada, but the hook remain unimplemented for now. The
actual implementation is tied to the rest of the varobj code for Ada,
and thus will be provided then.

gdb/ChangeLog:

        * varobj.c (ada_value_has_mutated): Add declaration.  New function.
        (struct language_specific): New field "value_has_mutated".
        (languages): Set field "value_has_mutated" in each entry of array.
        (varobj_value_has_mutated): New function.
        (varobj_udpdate): Add handling of type mutation.
        (value_of_root): Add handling of type mutation.
        (ada_value_has_mutated): New function.

12 years ago2012-03-28 Pedro Alves <palves@redhat.com>
Pedro Alves [Wed, 28 Mar 2012 18:30:01 +0000 (18:30 +0000)]
2012-03-28  Pedro Alves  <palves@redhat.com>

* linux-ia64-low.c (ia64_regmap): Map IA64_EC_REGNUM to PT_AR_EC.
(IA64_GR0_REGNUM, IA64_FR0_REGNUM)
(IA64_FR1_REGNUM): New defines.
(ia64_fetch_register): New.
(the_low_target): Install it.
* linux-low.h (struct linux_target_ops) <fetch_register>: New
field.
* linux-low.c (linux_fetch_registers): Try the
the_low_target.fetch_register hook first.

* linux-arm-low.c (the_low_target): Adjust.
* linux-bfin-low.c (the_low_target): Adjust.
* linux-cris-low.c (the_low_target): Adjust.
* linux-crisv32-low.c (the_low_target): Adjust.
* linux-m32r-low.c (the_low_target): Adjust.
* linux-m68k-low.c (the_low_target): Adjust.
* linux-mips-low.c (the_low_target): Adjust.
* linux-ppc-low.c (the_low_target): Adjust.
* linux-s390-low.c (the_low_target): Adjust.
* linux-sh-low.c (the_low_target): Adjust.
* linux-sparc-low.c (the_low_target): Adjust.
* linux-tic6x-low.c (the_low_target): Adjust.
* linux-x86-low.c (the_low_target): Adjust.
* linux-xtensa-low.c (the_low_target): Adjust.

12 years ago2012-03-28 Pedro Alves <palves@redhat.com>
Pedro Alves [Wed, 28 Mar 2012 17:50:17 +0000 (17:50 +0000)]
2012-03-28  Pedro Alves  <palves@redhat.com>

* ia64-linux-nat.c (supply_fpregset, ia64_linux_fetch_register):
Always supply $fr0 as 0.0 and $fr1 as 1.0.

12 years ago * python/py-inferior.c (infpy_read_memory): Remove cleanups and
Tom Tromey [Wed, 28 Mar 2012 17:38:08 +0000 (17:38 +0000)]
* python/py-inferior.c (infpy_read_memory): Remove cleanups and
explicitly free 'buffer' on exit paths.  Decref 'membuf_object'
before returning.

12 years ago * .dir-locals.el: New file.
Tom Tromey [Wed, 28 Mar 2012 17:35:38 +0000 (17:35 +0000)]
* .dir-locals.el: New file.

12 years ago * gdb.linespec/ls-dollar.cc: New file.
Keith Seitz [Wed, 28 Mar 2012 17:33:33 +0000 (17:33 +0000)]
* gdb.linespec/ls-dollar.cc: New file.
* gdb.linespec/ls-dollar.exp: New test.

12 years ago2012-03-28 Pedro Alves <palves@redhat.com>
Pedro Alves [Wed, 28 Mar 2012 17:29:54 +0000 (17:29 +0000)]
2012-03-28  Pedro Alves  <palves@redhat.com>

* ia64-linux-nat.c (u_offsets): Map IA64_EC_REGNUM to PT_AR_EC.

12 years ago * gdb.cp/namespace.exp: Add breakpoint tests for functions
Keith Seitz [Wed, 28 Mar 2012 17:29:42 +0000 (17:29 +0000)]
* gdb.cp/namespace.exp: Add breakpoint tests for functions
starting with the global namespace.