aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-06-11*** empty log message ***Michael Eager3-0/+141
2012-06-11 * infrun.c (handle_inferior_event)Tom Tromey4-57/+68
<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 PR 13503Nick Clifton2-1/+7
* config/tc-avr.c (exp_mod): Fix typo introduced in 1.82 from 2012-05-16.
2012-06-11Don't hardcode .got.plt into DATA_SEGMENT_RELRO_END evaluationH.J. Lu18-10/+67
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 * mips-tdep.c (mips_push_dummy_code): Handle microMIPS code.Maciej W. Rozycki2-3/+14
2012-06-11opcodes/Andreas Schwab5-78/+95
* 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-11gdb/gdbserver:Yao Qi2-1/+5
* linux-low.c (linux_attach): Add 'static'.
2012-06-11daily updateAlan Modra1-1/+1
2012-06-11*** empty log message ***gdbadmin1-1/+1
2012-06-10daily updateAlan Modra1-1/+1
2012-06-10*** empty log message ***gdbadmin1-1/+1
2012-06-09Allocate sufficient space for string bufferH.J. Lu5-15/+39
* 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 * sb.c: Include limits.h.Alan Modra2-12/+40
(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-092012-06-09 Siva Chandra Reddy <sivachandra@google.com>Siva Chandra Reddy2-1/+5
* valarith.c (binop_types_user_defined_p): Fix a typo.
2012-06-09*** empty log message ***gdbadmin1-1/+1
2012-06-09daily updateAlan Modra1-1/+1
2012-06-08 * dwarf.c (read_and_display_attr_value): HandleJakub Jelinek2-1/+48
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-08merge from gccDJ Delorie3-0/+17
2012-06-08gdb/Yao Qi10-42/+135
* 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-08gdb/doc:Yao Qi2-0/+163
* 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*** empty log message ***gdbadmin1-1/+1
2012-06-08daily updateAlan Modra1-1/+1
2012-06-07 * dwarf2read.c (dwarf2_cu): Add comment.Doug Evans2-1/+13
2012-06-07PR 13697Nick Clifton2-1/+9
* scripttempl/avr.sc (.data): Keep it.
2012-06-07 * avr.h: (AVR_ISA_XCH): New define.Nick Clifton2-3/+15
(AVR_ISA_XMEGA): Use it. (XCH, LAS, LAT, LAC): New XMEGA opcodes.
2012-06-07binutils/testsuite/Thomas Schwinge2-0/+5
* binutils-all/i386/i386.exp: Don't skip for x86_64-*-linux*.
2012-06-07gdb/testsuite/Yao Qi2-12/+24
* gdb.trace/strace.exp: Shorten some too-long lines.
2012-06-07Move gas/all/rept.[ds] to gas/i386H.J. Lu5-1/+12
* 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-07Add a testcase for PR gas/14201H.J. Lu4-0/+20
PR gas/14201 * gas/all/gas.exp: Run rept. * gas/all/rept.d: New file. * gas/all/rept.s: Likewise.
2012-06-07 PR gas/14201Alan Modra12-180/+143
* 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-07gold/Cary Coutant3-38/+108
* 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*** empty log message ***gdbadmin1-1/+1
2012-06-07daily updateAlan Modra1-1/+1
2012-06-06gold/Cary Coutant6-18/+52
* 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-06Move config.h to start of includes.Michael Eager1-1/+1
2012-06-06 * mips-tdep.c (mips_pseudo_register_type): Remove tdep localMaciej W. Rozycki2-5/+9
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 * mips-tdep.c (mips_convert_register_p): Correct coding style.Maciej W. Rozycki2-2/+6
2012-06-06 * mips-tdep.c (mips_pseudo_register_type): UseMaciej W. Rozycki2-2/+6
mips_float_register_p.
2012-06-062012-06-06 Pedro Alves <palves@redhat.com>Pedro Alves2-8/+7
* infrun.c (handle_inferior_event): Remove calls to reinit_frame_cache that follow a context_switch call.
2012-06-062012-06-06 Pedro Alves <palves@redhat.com>Pedro Alves2-3/+6
* infrun.c (handle_inferior_event) <deferred_step_ptid>: Use context_switch and remove stale comment.
2012-06-06gdb/Pedro Alves5-35/+129
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-06gdb/Thomas Schwinge8-882/+39
* 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-06gdb/Jan Kratochvil3-5/+15
* configure.ac: Move development=true below AC_INIT. * configure: Regenerate.
2012-06-06Add #include "config.h".Michael Eager2-0/+5
2012-06-06bfd/Alan Modra108-525/+910
* 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-06gdb/testsuite/Yao Qi2-2/+23
* 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-06gdb/testsuite/Yao Qi2-12/+16
* gdb.base/info-proc.exp: Return if target doesn't support 'info proc'.
2012-06-06gdb/gdbserver/Yao Qi2-1/+5
* ax.c (gdb_eval_agent_expr): Print `top' in hex.
2012-06-06gdb/doc/Yao Qi2-1/+6
* gdb.texinfo: Update copyright year.
2012-06-062012-06-05 Jing Yu <jingyu@google.com>Doug Kwan2-2/+7
* gold.h (textdomain): Add do {} to empty while(0). (bindtextdomain): Likewise.