aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-17Add a testase for PR gas/12589.H.J. Lu4-0/+36
2011-03-17 H.J. Lu <hongjiu.lu@intel.com> PR gas/12589 * gas/i386/pr12589-1.d: New. * gas/i386/pr12589-1.s: Likewise. * gas/i386/i386.exp: Run pr12589-1.
2011-03-17 PR 12590Alan Modra2-2/+9
* ar.c (ranlib_main): Init arg_index properly. (usage): Describe --target.
2011-03-17 PR 12569Alan Modra3-11/+17
* expr.c (operand): Correct passing of "mode" to expr. * read.c (do_org): Allow expr_section. (get_known_segmented_expression): Don't assert anything about the segment.
2011-03-172011-03-17 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon19-8/+427
* python/py-symtab.c: Populate symtab_object_methods, sal_object_methods. (stpy_is_valid): New function. (salpy_is_valid): Ditto. * python/py-symbol.c: Declare symbol_object_methods. Populate. (sympy_is_valid): New function. * python/py-objfile.c: Declare objfile_object_methods. Populate. (objfpy_is_valid): New function. * python/py-inferior.c: Populate inferior_object_methods. (infpy_is_valid): New function. * python/py-infthread.c: Populate thread_object_methods. (thpy_is_valid): New function. * python/py-block.c: Declare block_object_methods. Populate. Declare block_iterator_object_methods. Populate. (blpy_is_valid): New function. (blpy_iter_is_valid): Ditto. 2010-03-17 Phil Muldoon <pmuldoon@redhat.com> * gdb.python/Makefile.in: Add py-objfile. * gdb.python/py-objfile.exp: New file. * gdb.python/py-objfile.c: New file. * gdb.python/py-block.exp: Add is_valid tests. * gdb.python/py-inferior.exp: Ditto. * gdb.python/py-infthread.exp: Ditto. * gdb.python/py-symbol.exp: Ditto. * gdb.python/py-symtab.exp: Ditto. 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> * gdb.texinfo (Blocks In Python): Add is_valid method description. (Inferiors In Python): Likewise. (Threads In Python): Likewise. (Symbols In Python): Likewise. (Objfiles In Python): Likewise. (Symbol Tables In Python): Likewise.
2011-03-17*** empty log message ***gdbadmin1-1/+1
2011-03-16daily updateAlan Modra1-1/+1
2011-03-16 * linespec.c (find_methods): Canonicalize NAME before lookingKeith Seitz5-49/+280
up the symbol. (name_end): New function. (keep_name_info): New function. (decode_line_1): Use keep_name_info. (decode_compound): Likewise. * cli/cli-utils.h (remove_trailing_whitespace): New function. * cli/cli-utils.c (remove_trailing_whitespace): Likewise. PR c++/12273 * linespec.c (locate_first_half): Keep overload information, too. (decode_compound): Use a string to represent break characters to escape the loop. If P points to a break character, do not increment it. For C++ and Java, keep overload information and relevant keywords. If we cannot find a symbol, search the minimal symbols. PR c++/11734 * linespec.c (decode_compound): Rename SAVED_ARG to THE_REAL_SAVED_ARG. Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip single-quotes. Pass a valid block to lookup_symbol. (lookup_prefix_sym): Likewise. (find_method): Construct search name based on SYM_CLASS instead of SAVED_ARG. * psymtab.c (lookup_partial_symbol): Add language parameter. (lookup_symbol_aux_psymtabs): Likewise. Don't assume that the psymtab we found was the right one. Search for the desired symbol in the symtab to be certain. (psymtab_search_name): New function. (lookup_partial_symbol): Use psymtab_search_name. Add language parameter. (read_symtabs_for_function): Add language parameter and pass to lookup_partial_symbol. (find_symbol_file_from_partial): Likewise.
2011-03-16 PR c++/12273Keith Seitz9-0/+365
* gdb.cp/cmpd-minsyms.exp: New test. * gdb.cp/cmpd-minsyms.cc: New file. PR c++/11734 * gdb.cp/ovsrch.exp: New test. * gdb.cp/ovsrch.h: New file. * gdb.cp/ovsrch1.cc: New file. * gdb.cp/ovsrch2.cc: New file. * gdb.cp/ovsrch3.cc: New file. * gdb.cp/ovsrch4.cc: New file.
2011-03-16ChangeLog:Paul Pluzhnikov6-6/+133
2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com> PR gdb/12528 * dwarf2read.c (noop_record_line): New function. (dwarf_decode_lines): Ignore line tables for GCd functions. testsuite/ChangeLog: 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com> PR gdb/12528 * gdb.base/Makefile.in: Adjust EXECUTABLES. * gdb.base/break-on-linker-gcd-function.exp: New test. * gdb.base/break-on-linker-gcd-function.cc: New file.
2011-03-16 Fix ARI warnings about new lines at the end of messages, whichPierre Muller13-12/+30
are unneeded as there is a new line added at the end of the message automatically. * darwin-nat.c (darwin_stop_inferior): Ditto. * dec-thread.c (dec_thread_get_ada_task_ptid): Ditto. * dfp.c (decimal_to_number): Ditto. * exec.c (print_section_info): Ditto. * i386-darwin-nat.c (darwin_set_sstep): Ditto. * osdata.c (get_osdata): Ditto. * record.c (bfdcore_write): Ditto. * remote-mips.c (mips_readchar): Ditto. * remote.c (read_ptid): Ditto. * ser-mingw.c (ser_windows_raw): Ditto. * tracepoint.c (add_local_symbols): Ditto. * windows-nat.c (fake_create_process): Ditto.
2011-03-16 * tracepoint.c (stop_tracing): Don't declare.Tom Tromey3-3/+6
* event-top.c (after_char_processing_hook): Add `(void)'.
2011-03-16 * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.Jakub Jelinek2-1/+51
(read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered. (get_AT_name): Handle DW_AT_GNU_call_site_value, DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and DW_AT_GNU_all_source_call_sites. (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust handling. * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site. (decode_location_expression): Handle DW_OP_GNU_entry_value. (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value. (get_AT_name): Likewise.
2011-03-16Add --size-check=[error|warning].H.J. Lu10-6/+91
gas/ 2011-03-16 H.J. Lu <hongjiu.lu@intel.com> * as.c (show_usage): Add --size-check=. (parse_args): Add and handle OPTION_SIZE_CHECK. * as.h (flag_size_check): New. * config/obj-elf.c (elf_frob_symbol): Use as_bad to report bad .size directive only for --size-check=error. * doc/as.texinfo: Document --size-check=. gas/testsuite/ 2011-03-16 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/bad-size.d: New. * gas/i386/bad-size.s: Likewise. * gas/i386/bad-size.warn: Likewise. * gas/i386/i386.exp: Run bad-size for ELF targets.
2011-03-162011-03-16 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2-0/+9
* NEWS: Add Parameter sub-classing description.
2011-03-16 * dwarf2.h (DW_TAG_GNU_call_site, DW_TAG_GNU_call_site_parameter,Jakub Jelinek2-1/+31
DW_AT_GNU_call_site_value, DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites,, DW_AT_GNU_all_source_call_sites, DW_OP_GNU_entry_value): New.
2011-03-162011-03-16 Kai Tietz <ktietz@redhat.com>Kai Tietz2-1/+5
* MAINTAINERS: Update my e-mail address.
2011-03-16*** empty log message ***gdbadmin1-1/+1
2011-03-15ld: vers19 test: add -rpath-linkMike Frysinger2-1/+5
Using -Wl,-rpath,. isn't sufficient for cross-linkers to locate the necessary libraries. So throw in -Wl,-rpath-link,. to make it work. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-15daily updateAlan Modra1-1/+1
2011-03-152011-03-15 Andreas Tobler <andreast@fgznet.ch>Andreas Tobler2-0/+17
* gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
2011-03-15sim: bfin: add GPIO device simulationMike Frysinger7-28/+369
This takes care of the MMR interface and pushing up interrupts. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-152011-03-15 Andreas Tobler <andreast@fgznet.ch>Andreas Tobler2-0/+5
* MAINTAINERS: Add myself for write after approval privileges.
2011-03-15sim: bfin: fix brace styleMike Frysinger27-27/+54
2011-03-15sim: bfin: fix brace styleMike Frysinger58-161/+342
2011-03-15sim: bfin: handle AZ updates with 16bit adds/subsMike Frysinger2-1/+6
We weren't updating AZ when doing a 16bit add or sub insn. Implement it. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-15sim: bfin: skip acc/ASTAT updates for movesMike Frysinger2-6/+10
No point in moving unchanged acc values to the acc regs, and avoid updating the acc ASTAT bits when only reading. This fixes incorrect changing of the ASTAT bits when they're only being read. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-15sim: bfin: handle AN (negative overflows) in dsp mult insnsMike Frysinger2-8/+40
The current dsp mult handler does not take care of overflows which turn values negative (and thus set AN in ASTAT). So implement it. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-15sim: bfin: handle V overflows in dsp mult insnsMike Frysinger2-7/+15
The current dsp mult handler does not take care of overflows and updating the V ASTAT bit. So implement it. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-15sim: bfin: decode ASTAT on failureMike Frysinger2-34/+79
When testing ASTAT regs, specific bit differences carry a lot more meaning than when checking the value of a data register. So automatically decode the bits of the two values and print things out so that people don't have to manually do it themselves every time. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-15sim: bfin: handle saturation with fract multiplicationsMike Frysinger2-0/+6
The saturation behavior with fract modes differs from non-fract modes. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-152011-03-15 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+4
* frame.c (find_frame_sal): Assert sym is not null.
2011-03-152011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>Michael Snyder2-0/+3
* dbxread.c (process_one_symbol): Assert 'name' is not null.
2011-03-152011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>Michael Snyder2-0/+9
* objc-lang.c (selectors_info): Check strchr for null result.
2011-03-152011-03-04 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+10
* stabsread.c (define_symbol): Guard against bad stabstring input.
2011-03-152011-03-15 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2-3/+6
* lib/gdb.exp (gdb_unload): Add another termination case.
2011-03-15 Remove trailing spaces and tabulations from pascal languagePierre Muller5-52/+62
support sources. p-exp.y: Ditto. p-lang.c: Ditto. p-lang.h: Ditto. p-valprint.c: Ditto.
2011-03-15gdb/Jan Kratochvil6-20/+187
* dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher than LOW. Comment it. (read_partial_die): Call complaint for inappropriate zero LOWPC or HIGHPC not strictly higher than LOWPC. gdb/testsuite/ * gdb.dwarf2/dw2-empty-pc-range.S: New file. * gdb.dwarf2/dw2-empty-pc-range.exp: New file. * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end. Provide a stub byte there. (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and DW_AT_entry_pc. (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2011-03-15 Fix formatting of function declarations returning a pointer inPierre Muller4-5/+13
previous commit. * varobj.c (varobj_add_child): Ditto. * hppa-tdep.h (hppa_init_objfile_priv_data): Ditto. * inferior.h (get_displaced_step_closure_by_addr): Ditto.
2011-03-15gdb/Ulrich Weigand4-16/+82
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support for the "generic" vector ABI used with GCC 4.3 and later. (ppc64_sysv_abi_return_value): Likewise. gdb/testsuite: * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when using a GCC 4.1 or 4.2 compiler. Add an additional test variant "generic ABI, auto". (altivec_abi_tests): Accept vectors returned by reference.
2011-03-15 * infcall.c (call_function_by_hand): Function return value isUlrich Weigand2-8/+13
always a non_lval, even when using struct_return.
2011-03-15 gdb/Pedro Alves4-71/+112
* printcmd.c (ALL_DISPLAYS_SAFE): New. (map_display_numbers): New. (do_delete_display): New. (undisplay_command): Use map_display_numbers. (do_enable_disable_display): New. (enable_disable_display_command): New function. (enable_display): Delete. (enable_display_command): New. (disable_display_command): Reimplement. (_initialize_printcmd): Adjust "enable display" command to use `enable_display_command' as callback. gdb/doc/ * gdb.texinfo (Auto Display) <undisplay, enable display, disable display>: Explain that the commands accept number ranges.
2011-03-15sim: common: trim trailing whitespaceMike Frysinger42-292/+300
2011-03-15gas: blackfin: add support for bf54x-0.4Mike Frysinger2-0/+10
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-15*** empty log message ***gdbadmin1-1/+1
2011-03-14daily updateAlan Modra1-1/+1
2011-03-14sim: bfin: forgot to cvs add the changelogMike Frysinger1-0/+29
2011-03-142011-03-14 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2-0/+8
* NEWS: Add Python breakpoint 'stop' operation.
2011-03-14Fix earlier changelog errors.Michael Snyder2-12/+15
2011-03-142011-03-14 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+11
* gdbserver/hostio.c (handle_close): Remove unnecessary null test.
2011-03-142011-03-14 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+4
* objcopy.c (set_pe_subsystem): Free subsystem.