Jan Kratochvil
bb2af9ccc5
gdb/testsuite/
...
* lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
missing.
2012-06-11 17:44:07 +00:00
H.J. Lu
f3944f7224
Reindent assign_file_positions_for_non_load_sections
...
* elf.c (assign_file_positions_for_non_load_sections): Reindent.
2012-06-11 16:48:35 +00:00
H.J. Lu
be01b34487
Reindent _bfd_elf_map_sections_to_segments
...
* elf.c (_bfd_elf_map_sections_to_segments): Reindent.
2012-06-11 16:44:02 +00:00
Michael Eager
232b87049a
*** empty log message ***
2012-06-11 16:08:21 +00:00
Tom Tromey
e81a37f7ed
* infrun.c (handle_inferior_event)
...
<BPSTAT_WHAT_SET_LONGJMP_RESUME>: Don't delete the step-resume
breakpoint.
<BPSTAT_WHAT_CLEAR_LONGJMP_RESUME>: Remove longjmp logic; use
exception logic in all cases. Update comments.
(insert_longjmp_resume_breakpoint): Set the exception resume
breakpoint.
testsuite
* gdb.base/longjmp.c (hidden_longjmp): Move expected catch
location...
(main): ...here.
2012-06-11 15:15:06 +00:00
Nick Clifton
e4efb66531
PR 13503
...
* config/tc-avr.c (exp_mod): Fix typo introduced in 1.82
from 2012-05-16.
2012-06-11 14:26:41 +00:00
H.J. Lu
17d6eea5d5
Don't hardcode .got.plt into DATA_SEGMENT_RELRO_END evaluation
...
ld/
PR ld/14215
* ldexp.c (fold_name <SIZEOF, ALIGNOF>): Allow forward section
references.
* emulparams/elf32_x86_64.sh (SEPARATE_GOTPLT): Depend on size of
.got.plt.
* emulparams/elf32mb_linux.sh (SEPARATE_GOTPLT): Likewise.
* emulparams/elf32tilegx.sh (SEPARATE_GOTPLT): Likewise.
* emulparams/elf32tilepro.sh (SEPARATE_GOTPLT): Likewise.
* emulparams/elf64tilegx.sh (SEPARATE_GOTPLT): Likewise.
* emulparams/elf_i386.sh (SEPARATE_GOTPLT): Likewise.
* emulparams/elf_k1om.sh (SEPARATE_GOTPLT): Likewise.
* emulparams/elf_l1om.sh (SEPARATE_GOTPLT): Likewise.
* emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Likewise.
ld/testsuite/
PR ld/14215
* ld-i386/i386.exp: Run pr14215.
* ld-x86-64/x86-64.exp: Likewise.
* ld-i386/pr14215.d: New file.
* ld-i386/pr14215.s: Likewise.
* ld-x86-64/pr14215.d: Likewise.
* ld-x86-64/pr14215.s: Likewise.
2012-06-11 13:23:51 +00:00
Maciej W. Rozycki
2e81047f91
* mips-tdep.c (mips_push_dummy_code): Handle microMIPS code.
2012-06-11 10:11:14 +00:00
Andreas Schwab
c7a8dbf91f
opcodes/
...
* ppc-opc.c (lvsl, lvebx, isellt, icbt, ldepx, lwepx, lvsr, lvehx)
(iselgt, lvewx, iseleq, isel, dcbst, dcbstep, dcbfl, dcbf, lbepx)
(lvx, dcbfep, dcbtstls, stvebx, dcbtstlse, stdepx, stwepx, dcbtls)
(stvehx, dcbtlse, stvewx, stbepx, icblc, stvx, dcbtstt, dcbtst)
(dcbtst, dcbtstep, dcbtt, dcbt, dcbt, lhepx, eciwx, dcbtep)
(dcread, lxvdsx, lvxl, dcblc, sthepx, ecowx, dcbi, dcread, icbtls)
(stvxl, lxsdx, lfdepx, stxsdx, stfdepx, dcba, dcbal, lxvw4x)
(tlbivax, lfdpx, lxvd2x, tlbsrx., stxvw4x, tlbsx, tlbsx., stfdpx)
(stfqx, stxvd2x, icbi, icbiep, icread, dcbzep): Change RA to RA0.
gas/testsuite/
* gas/ppc/e500mc.d: Update.
* gas/ppc/476.d: Update.
2012-06-11 08:20:43 +00:00
Yao Qi
c52daf705d
gdb/gdbserver:
...
* linux-low.c (linux_attach): Add 'static'.
2012-06-11 07:24:15 +00:00
Alan Modra
7b9f845ec7
daily update
2012-06-11 00:00:05 +00:00
gdbadmin
35bf4b57ae
*** empty log message ***
2012-06-11 00:00:02 +00:00
Alan Modra
a77271fddc
daily update
2012-06-10 00:00:04 +00:00
gdbadmin
4edd7033e2
*** empty log message ***
2012-06-10 00:00:02 +00:00
H.J. Lu
d2ae702c46
Allocate sufficient space for string buffer
...
* input-scrub.c (input_scrub_include_sb): Use sb_build to
allocate sufficient space for from_sb. Use sb_terminate to
terminate string.
* read.c (read_a_source_file): Use sb_build to allocate
sufficient space and replace sb_add_string with sb_add_buffer.
(s_macro): Likewise.
(input_scrub_insert_line): Likewise.
(s_irp): Use sb_build to allocate sufficient space.
(do_repeat): Use sb_build to allocate sufficient space
for many.
* sb.c (sb_build): Remove static.
* sb.h (sb_build): New prototype.
2012-06-09 13:22:00 +00:00
Alan Modra
5197bfb548
* sb.c: Include limits.h.
...
(dsize): Delete.
(MALLOC_OVERHEAD, INIT_ALLOC): Define.
(sb_new): Use INIT_ALLOC.
(sb_check): Modify allocation strategy using MALLOC_OVERHEAD.
(sb_terminate): Don't use sb_add_char.
2012-06-09 08:32:43 +00:00
Siva Chandra Reddy
4e32eda7cb
2012-06-09 Siva Chandra Reddy <sivachandra@google.com>
...
* valarith.c (binop_types_user_defined_p): Fix a typo.
2012-06-09 07:36:43 +00:00
gdbadmin
d2e1b1b7a8
*** empty log message ***
2012-06-09 00:00:33 +00:00
Alan Modra
036746c412
daily update
2012-06-09 00:00:04 +00:00
Jakub Jelinek
a081f3cd85
* dwarf.c (read_and_display_attr_value): Handle
...
DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt.
(display_debug_macro): Handle DW_MACRO_GNU_define_indirect_alt,
DW_MACRO_GNU_undef_indirect_alt and
DW_MACRO_GNU_transparent_include_alt.
2012-06-08 19:07:33 +00:00
DJ Delorie
9761def577
merge from gcc
2012-06-08 19:01:23 +00:00
Yao Qi
18648a3749
gdb/
...
* arch-utils.c (default_return_in_first_hidden_param_p): New.
* arch-utils.h: Declare.
* gdbarch.sh: Add return_in_first_hidden_param_p.
* gdbarch.c, gdbarch.h: Regenerated.
* infcall.c (call_function_by_hand): Call
gdbarch_return_in_first_hidden_param_p instead of
language_pass_by_reference.
* m68k-tdep.c (m68k_return_in_first_hidden_param_p): New.
(m68k_gdbarch_init): Install m68k_return_in_first_hidden_param_p.
* sh-tdep.c (sh_return_in_first_hidden_param_p): New.
(sh_gdbarch_init): Install sh_return_in_first_hidden_param_p.
* tic6x-tdep.c (tic6x_push_dummy_call): Remove local variable
`cplus_return_struct_by_reference'.
(tic6x_return_value): Handle language cplusplus.
(tic6x_return_in_first_hidden_param_p): New.
(tic6x_gdbarch_init): Install tic6x_return_in_first_hidden_param_p.
2012-06-08 14:24:57 +00:00
Yao Qi
16bdd41fc6
gdb/doc:
...
* gdb.texinfo (In-Process Agent): Add 'In-Process Agent
Protocol'.
(In-Process Agent Protocol, IPA Protocol Objects)
(IPA Protocol Commands): New nodes.
(Tracepoint Packets): Add anchors.
2012-06-08 13:05:55 +00:00
gdbadmin
75ecb895f0
*** empty log message ***
2012-06-08 00:01:03 +00:00
Alan Modra
5d9636cc4a
daily update
2012-06-08 00:00:05 +00:00
Doug Evans
034e5797f0
* dwarf2read.c (dwarf2_cu): Add comment.
2012-06-07 17:30:12 +00:00
Nick Clifton
fef632e18b
PR 13697
...
* scripttempl/avr.sc (.data): Keep it.
2012-06-07 16:53:10 +00:00
Nick Clifton
76e879f8e4
* avr.h: (AVR_ISA_XCH): New define.
...
(AVR_ISA_XMEGA): Use it.
(XCH, LAS, LAT, LAC): New XMEGA opcodes.
2012-06-07 16:43:36 +00:00
Thomas Schwinge
fbb3cb696f
binutils/testsuite/
...
* binutils-all/i386/i386.exp: Don't skip for x86_64-*-linux*.
2012-06-07 15:34:23 +00:00
Yao Qi
8efd7788e8
gdb/testsuite/
...
* gdb.trace/strace.exp: Shorten some too-long lines.
2012-06-07 15:07:03 +00:00
H.J. Lu
c22faadb1a
Move gas/all/rept.[ds] to gas/i386
...
* gas/all/gas.exp: Don't run rept.
* gas/all/rept.d: Moved to ...
* gas/i386/rept.d: Here.
* gas/all/rept.s: Moved to ...
* gas/i386/rept.s: Here.
* gas/i386/i386.exp: Run rept.
2012-06-07 14:52:42 +00:00
H.J. Lu
918e92bee9
Add a testcase for PR gas/14201
...
PR gas/14201
* gas/all/gas.exp: Run rept.
* gas/all/rept.d: New file.
* gas/all/rept.s: Likewise.
2012-06-07 13:47:14 +00:00
Alan Modra
39a45edc07
PR gas/14201
...
* sb.h (sb_max_power_two): Delete.
(struct sb): Delete "item" and "pot". Make "len" a size_t. Add "max".
(sb_element): Delete.
(sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
prototypes.
* sb.c (string_count, free_list): Delete.
(sb_build, sb_kill, sb_check): Rewrite.
(scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
sb_skip_white, sb_skip_comma): Replace assorted int params,
vars and return types with size_t.
* input-scrub.c: Likewise.
* macro.c: Likewise.
* macro.h: Likewise.
* as.c: Likewise.
* as.h: Likewise.
* input-file.h: Likewise.
* input-file.c: Likewise.
* read.c: Likewise.
* app.c: ..or ptrdiff_t.
* input-file.c (input_file_get): Use ferror.
(input_file_give_next_buffer): Use input_file_get.
2012-06-07 12:47:23 +00:00
Cary Coutant
fb1b895daa
gold/
...
* layout.cc (gdb_sections): Remove ".debug_" prefixes,
add .debug_macro.
(lines_only_debug_sections): Likewise.
(gdb_fast_lookup_sections): New static array.
(is_gdb_debug_section): Rename formal parameter.
(is_lines_only_debug_section): Likewise.
(is_gdb_fast_lookup_section): New function.
(Layout::include_section): Check for ".zdebug_" prefix; pass
section name suffix to is_gdb_debug_section, et al.; check for
fast-lookup sections when building .gdb_index.
* options.h (--strip-debug-gdb): Update GDB version number.
2012-06-07 05:14:44 +00:00
gdbadmin
8f68367581
*** empty log message ***
2012-06-07 00:00:32 +00:00
Alan Modra
08d5d40f93
daily update
2012-06-07 00:00:05 +00:00
Cary Coutant
7c0640fa36
gold/
...
* configure.ac: Add check for fallocate.
* configure: Regenerate.
* config.in: Regenerate.
* options.h (class General_options): Add --mmap-output-file and
--posix-fallocate options.
* output.cc: (posix_fallocate): Remove; replace with...
(gold_fallocate): New function.
(Output_file::map_no_anonymous): Call gold_fallocate.
(Output_file::map): Check --mmap-output-file option.
2012-06-06 22:12:47 +00:00
Michael Eager
8fe6640e15
Move config.h to start of includes.
2012-06-06 21:50:03 +00:00
Maciej W. Rozycki
6a00aa1e22
* mips-tdep.c (mips_pseudo_register_type): Remove tdep local
...
variable.
(mips_eabi_push_dummy_call): Likewise.
(mips_n32n64_push_dummy_call): Likewise.
(mips_o32_push_dummy_call): Likewise.
(mips_o64_push_dummy_call): Likewise.
2012-06-06 21:34:12 +00:00
Maciej W. Rozycki
eaa05d599e
* mips-tdep.c (mips_convert_register_p): Correct coding style.
2012-06-06 21:27:37 +00:00
Maciej W. Rozycki
de13fcf2f4
* mips-tdep.c (mips_pseudo_register_type): Use
...
mips_float_register_p.
2012-06-06 19:34:31 +00:00
Pedro Alves
c3a01a2280
2012-06-06 Pedro Alves <palves@redhat.com>
...
* infrun.c (handle_inferior_event): Remove calls to
reinit_frame_cache that follow a context_switch call.
2012-06-06 19:27:23 +00:00
Pedro Alves
d25f45d93a
2012-06-06 Pedro Alves <palves@redhat.com>
...
* infrun.c (handle_inferior_event) <deferred_step_ptid>: Use
context_switch and remove stale comment.
2012-06-06 18:40:06 +00:00
Pedro Alves
359f5fe60e
gdb/
...
2012-06-06 Pedro Alves <palves@redhat.com>
* infrun.c (struct execution_control_state): Remove
`new_thread_event' field.
(handle_inferior_event): Simplify new threads handling; don't
resume the inferior if we find a new thread.
gdb/testsuite/
2012-06-06 Pedro Alves <palves@redhat.com>
* gdb.threads/clone-new-thread-event.c: New file.
* gdb.threads/clone-new-thread-event.exp: New file.
2012-06-06 18:10:17 +00:00
Thomas Schwinge
2d4c29c5e6
gdb/
...
* NEWS: Document the deprecation of SH's 'regs' command.
* inferior.h (all_registers_info): Add function declaration.
* sh-tdep.c (sh_show_regs): Remove variable.
(sh_generic_show_regs, sh3_show_regs, sh2e_show_regs, sh2a_show_regs)
(sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs)
(sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs)
(sh_show_regs_command): Remove functions.
(sh_gdbarch_init): Don't set sh_show_regs.
(_initialize_sh_tdep): Make the 'regs' command an deprecated alias to
'info all-registers'.
* sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs)
(sh64_show_regs): Remove functions.
* sh64-tdep.h (sh64_show_regs): Remove function declaration.
gdb/doc/
* gdb.texinfo: Document the deprecation of SH's 'regs' command.
2012-06-06 18:03:54 +00:00
Jan Kratochvil
f5f1cdb612
gdb/
...
* configure.ac: Move development=true below AC_INIT.
* configure: Regenerate.
2012-06-06 16:57:38 +00:00
Michael Eager
f5546abd5e
Add #include "config.h".
2012-06-06 15:05:23 +00:00
Alan Modra
ffbc01ccf0
bfd/
...
* elflink.c (elf_link_input_bfd): Provide a file symbol for
each input file with local syms, if the input lacks such.
(bfd_elf_final_link): Add a file symbol to mark end of locals
for which we can associate with input files.
(struct elf_final_link_info): Add filesym_count field.
(struct elf_outext_info): Add need_second_pass and second_pass.
(elf_link_output_extsym): Detect symbols defined in the output
file, emit them on second pass over locals.
ld/testsuite/
Update to suit added STT_FILE symbols.
2012-06-06 10:50:18 +00:00
Yao Qi
7b2fe205fd
gdb/testsuite/
...
* gdb.base/dprintf.c (main): Add extra parameter when calling
printf and fprintf.
(bar): New function. It is a dead function, but to ensure
'malloc' is linked explicitly.
2012-06-06 08:51:22 +00:00
Yao Qi
3eca55e89d
gdb/testsuite/
...
* gdb.base/info-proc.exp: Return if target doesn't support
'info proc'.
2012-06-06 08:47:04 +00:00