aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-06-12*** empty log message ***gdbadmin1-1/+1
2012-06-12daily updateAlan Modra1-1/+1
2012-06-112012-06-11 Pedro Alves <palves@redhat.com>Pedro Alves4-11/+88
* ser-base.c (run_async_handler_and_reschedule): New. (fd_event, push_event): Use it. * serial.c (serial_open, serial_fdopen_ops): Set the initial reference count to 1. (do_serial_close): Set the bufp field to NULL. Use serial_unref instead of xfree. (serial_is_open, serial_ref, serial_unref): New. * serial.h (serial_open): Adjust comment. (serial_is_open): Declare. (serial_close): Adjust comment. (serial_ref, serial_unref) Declare. (struct serial): New field 'refcnt'.
2012-06-112012-06-11 Pedro Alves <palves@redhat.com>Pedro Alves3-190/+13
Remove #if 0'd "connect" command, and unnecessary associated refcounting and serial reuse bits. * serial.h (struct serial): Remove fields 'next' and 'refcnt'. * serial.c (last_serial_opened): Delete. (scb_base): Delete. (serial_open): Adjust. (serial_for_fd): Delete. (serial_fdopen_ops, do_serial_close): Adjust. (serial_fdopen_ops): Adjust.
2012-06-112012-06-11 Pedro Alves <palves@redhat.com>Pedro Alves2-6/+5
* serial.c (do_serial_close): Remove early return when SCB is null.
2012-06-11 * dwarf2read.c (dw2_get_file_names_reader): Ignore partial units.Tom Tromey2-0/+12
2012-06-11gdb/Jan Kratochvil4-4/+31
Fix regression by the "ambiguous linespec" series. * breakpoint.c (parse_breakpoint_sals): New variable cursal. Use get_last_displayed_symtab and get_last_displayed_line and depending on CURSAL. gdb/testsuite/ Fix regression by the "ambiguous linespec" series. * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New tests.
2012-06-11 * dwarf2read.c (dw2_get_primary_filename_reader): New function.Tom Tromey2-5/+37
(dw2_find_symbol_file): Use it.
2012-06-11gdb/testsuite/Jan Kratochvil2-1/+6
* lib/future.exp: Set $use_gdb_compile even if only find_go_linker is missing.
2012-06-11Reindent assign_file_positions_for_non_load_sectionsH.J. Lu2-8/+13
* elf.c (assign_file_positions_for_non_load_sections): Reindent.
2012-06-11Reindent _bfd_elf_map_sections_to_segmentsH.J. Lu2-1/+5
* elf.c (_bfd_elf_map_sections_to_segments): Reindent.
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.