Michael Snyder
6b4511abfd
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* coffread.c (coff_end_symtab): Delete unused variable.
2011-02-28 23:17:07 +00:00
Michael Snyder
e8e80198e9
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* dwarf2read.c (dw2_get_file_names): Discard unused value.
(dwarf2_add_typedef): Delete unused variable.
(read_namespace): Ditto.
(dwarf_decode_macros): Ditto.
2011-02-28 23:12:56 +00:00
Alan Modra
ff1431da42
daily update
2011-02-28 23:00:05 +00:00
Michael Snyder
976aa66e89
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* m2-lang.c (evaluate_subexp_modula2): Discard unused variable.
2011-02-28 22:55:06 +00:00
Michael Snyder
5b92b49f16
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* opencl-lang.c (evaluate_subexp_opencl): Discard unused value.
2011-02-28 22:49:57 +00:00
Michael Snyder
91e8df85d8
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* p-valprint.c (pascal_val_print): Discard unused value.
2011-02-28 22:45:16 +00:00
Michael Snyder
899500d6a4
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* utils.c (nquery): Call va_end before return;
(yquery): Ditto.
(query): Ditto.
2011-02-28 22:20:05 +00:00
Michael Snyder
0480cefa09
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* proc-service.c (ps_plog): Call va_end before return.
2011-02-28 22:11:02 +00:00
Michael Snyder
9f72fee2a6
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* utils.c (decimal2str): Initialize 'width' to nine, then
don't mess with it.
2011-02-28 22:00:45 +00:00
Tom Tromey
fb6a3ed393
* python/python.c (gdbpy_value_cst): New global.
...
(_initialize_python): Initialize it.
* python/python-internal.h (gdbpy_value_cst): Declare.
* python/py-value.c (convert_value_from_python): Use
gdbpy_value_cst.
2011-02-28 19:38:34 +00:00
Michael Snyder
9bb4c1bb7e
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* gdb.cp/overload.cc: Change initializer value to integer.
2011-02-28 19:00:51 +00:00
Michael Snyder
e463f58791
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* python/py-cmd.c (cmdpy_init): Fix memory leak.
2011-02-28 18:55:22 +00:00
Michael Snyder
c38eea1ac5
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* breakpoint.c (catch_syscall_completer): Free malloced list.
2011-02-28 18:48:18 +00:00
Michael Snyder
3ef09ab522
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* jv-lang.c (java_primitive_type_from_name): Add missing break.
2011-02-28 18:43:27 +00:00
Michael Snyder
8f9a01eece
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* opencl-lang.c (lval_func_check_validity): Rename inner variables.
(lval_func_check_synthetic_pointer): Ditto.
2011-02-28 18:40:31 +00:00
Kai Tietz
aee9ba6f90
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
...
* basic_blocks.c (cmp_bb): Use filename_(n)cmp.
* cg_print.c (order_and_dump_functions_by_arcs): Likewise.
(cg_print_file_ordering): Likewise.
* corefile.c (read_function_mappings): Likewise.
(core_create_line_syms): Likewise.
2011-02-28 18:36:14 +00:00
Kai Tietz
426278217b
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
...
* emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
* emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
Likewise.
(gld${EMULATION_NAME}_stat_needed): Likewise.
(gld${EMULATION_NAME}_check_needed): Likewise.
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
(gld_${EMULATION_NAME}_unrecognized_file): Likewise.
* emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
(gld_${EMULATION_NAME}_unrecognized_file): Likewise.
* ldfile.c (ldfile_open_file): Likewise.
* ldlang.c (wild_sort): Likewise.
(lookup_name): Likewise.
(check_excluded_libs): Likewise.
* ldmisc.c (vfinfo): Likewise.
* pe-dll.c (libnamencmp): Likewise.
(auto_export): Likewise.
(pe_dll_generate_implib): Likewise.
* testplug.c (onclaim_file): Likewise.
2011-02-28 18:34:52 +00:00
Kai Tietz
8b6efd89a4
ChangeLog binutils/
...
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* debug.c (debug_start_source): Use filename_(n)cmp.
* ieee.c (ieee_finish_compilation_unit): Likewise.
(ieee_lineno): Likewise.
* nlmconv.c (main): Likewise.
* objcopy.c (strip_main): Likewise.
(copy_main): Likewise.
* objdump.c (show_line): Likewise.
(dump_reloc_set): Likewise.
* srconv.c (main): Likewise.
* wrstabs.c (stab_lineno): Likewise.
ChangeLog gas/
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* depend.c (register_dependency): Use filename_(n)cmp.
* dwarf2dbg.c (get_filenum): Likewise.
* ecoff.c (add_file): Likewise.
(ecoff_generate_asm_lineno): Likewise.
* input-scrub.c (new_logical_line_flags): Likewise.
* listing.c (file_info): Likewise.
(listing_newline): Likewise.
* remap.c (remap_debug_filename): Likewise.
* stabs.c (generate_asm_file): Likewise.
(stabs_generate_asm_lineno): Likewise.
2011-02-28 18:32:52 +00:00
Michael Snyder
c05202a107
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* opencl-lang.c (lval_func_free_closure): Fix use-after-free.
2011-02-28 18:31:36 +00:00
Kai Tietz
007d618909
ChangeLog libiberty/
...
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* filename_cmp.c (filename_ncmp): New function.
* functions.texi: Regenerated.
ChangeLog include/
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* filenames.h (filename_ncmp): New prototype.
ChangeLog bfd/
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* archive.c (_bfd_find_nested_archive): Use filename_(n)cmp.
(adjust_relative_path): Likewise.
(_bfd_construct_extended_name_table): Likewise.
* corefile.c (generic_core_file_matches_executable_p): Likewise.
* elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-spu.c (sort_bfds): Likewise.
(spu_elf_auto_overlay): Likewise.
* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
* xcofflink.c (xcoff_set_import_path): Likewise.
* xtensa-isa.c (xtensa_regfile_lookup): Likewise.
(xtensa_regfile_lookup_shortname): Likewise.
2011-02-28 18:30:16 +00:00
Michael Snyder
92e961922a
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* python/py-param.c (set_parameter_value): Add missing
break statement.
2011-02-28 18:28:19 +00:00
Tom Tromey
477d0d57b0
* psymtab.c (expand_partial_symbol_tables): Use
...
ALL_OBJFILE_PSYMTABS.
2011-02-28 18:16:59 +00:00
Jan Kratochvil
2093702991
gdb/
...
* objc-lang.c (selectors_info): Error on too long REGEXP.
2011-02-28 18:14:34 +00:00
Michael Snyder
907b7f4fc8
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* linux-record.c (record_linux_system_call): Add missing
break statement.
2011-02-28 18:10:30 +00:00
Maciej W. Rozycki
0067d8fc73
opcodes/
...
* mips-opc.c (mips_builtin_opcodes): Correct register use
annotation of "alnv.ps".
gas/testsuite/
* gas/mips/alnv_ps-swap.d: New test for ALNV.PS instruction
branch swapping.
* gas/mips/alnv_ps-swap.s: Source for the new test.
* gas/mips/mips.exp: Run the new test.
2011-02-28 16:34:39 +00:00
Maciej W. Rozycki
d455268f73
gas/
...
* config/tc-mips.c (append_insn): Disable branch relaxation for
DSP instructions.
gas/testsuite/
* gas/mips/relax-bposge.l: New test for DSP branch relaxation.
* gas/mips/relax-bposge.s: Source for the new test.
* gas/mips/mips.exp: Run the new test.
2011-02-28 16:26:46 +00:00
Ulrich Weigand
12c5a436a8
* breakpoint.c (print_one_breakpoint_location): Remove unused
...
argument PRINT_ADDRESS_BITS. Update callers.
(print_one_breakpoint): Likewise.
2011-02-28 16:20:21 +00:00
Maciej W. Rozycki
3eebd5eb03
gas/
...
* config/tc-mips.c (macro): Handle M_PREF_AB.
include/opcode/
* mips.h (M_PREF_AB): New enum value.
opcodes/
* mips-opc.c (mips_builtin_opcodes): Add "pref" macro.
2011-02-28 16:06:51 +00:00
Maciej W. Rozycki
89c0d58cff
Swap ChangeLog entries.
2011-02-28 16:03:38 +00:00
Ulrich Weigand
8040bd496a
* hostio.c (require_data): Free *data, not data.
2011-02-28 15:55:08 +00:00
Maciej W. Rozycki
66b3e8dabc
gas/
...
* config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
register to use.
(RELAX_BRANCH_UNCOND): Adjust accordingly.
(RELAX_BRANCH_LIKELY): Likewise.
(RELAX_BRANCH_LINK): Likewise.
(RELAX_BRANCH_TOOFAR): Likewise.
(RELAX_BRANCH_AT): New macro.
(append_insn): Encode the temporary register to use in standard
MIPS branch relaxation.
(relaxed_branch_length): Update according to changes to
RELAX_BRANCH_ENCODE.
(md_convert_frag): Use the encoded register as the temporary.
gas/testsuite/
* gas/mips/relax-at.d: New test for branch relaxation with .set
at.
* gas/mips/relax.s: Update to support the new test.
* gas/mips/relax.l: Update accordingly.
* gas/mips/relax.d: Update for multi-arch invocation.
* gas/mips/mips.exp: Run the new test. Adjust to run "relax"
across all applicable architectures.
2011-02-28 15:52:26 +00:00
Maciej W. Rozycki
ce70d90a3e
gas/
...
* config/tc-mips.c (mips_fix_adjustable): On REL targets also
reject PC-relative relocations.
gas/testsuite/
* gas/mips/branch-misc-2.d: Adjust for relocation change.
* gas/mips/branch-misc-2pic.d: Likewise.
* gas/mips/branch-misc-4.d: New test for PC-relative relocation
overflow.
* gas/mips/branch-misc-4-64.d: Likewise.
* gas/mips/branch-misc-4.s: Source for the new tests.
* testsuite/gas/mips/mips.exp: Run the new tests.
2011-02-28 15:44:53 +00:00
Maciej W. Rozycki
5c4f07bae1
gas/
...
* config/tc-mips.c (md_convert_frag): Correct message
capitalization.
gas/testsuite/
* gas/mips/relax-swap1.l: Adjust for message capitalization
correction.
* gas/mips/relax-swap2.l: Likewise.
* gas/mips/relax.l: Likewise.
2011-02-28 15:33:25 +00:00
Ulrich Weigand
170b53b2b6
* breakpoint.c (wrap_indent_at_field): New function.
...
(print_breakpoint_location): Use it instead of WRAP_INDENT argument.
Allocate ui_stream locally instead of using STB argument.
(print_one_breakpoint_location): Update call.
* ui-out.c (ui_out_query_field): New function.
* ui-out.h (ui_out_query_field): Add prototype.
2011-02-28 15:21:21 +00:00
Jan Kratochvil
81896e36e8
gdb/doc/
...
* gdb.texinfo (Starting and Stopping Trace Experiments): Fix
circular-trace-buffer name.
2011-02-28 09:28:21 +00:00
Jan Kratochvil
6dcd556514
gdb/doc/
...
* gdb.texinfo (Tracepoint Conditions): Fix missing parenthesis.
2011-02-28 09:07:46 +00:00
Alan Modra
8616ad89d6
PR 12513
...
* archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and
stringsize. Properly sanity check symdef_count. Remove redundant
bfd_release.
2011-02-28 07:46:37 +00:00
Alan Modra
5a0ade8b70
* symbols.c (report_op_error): Remove unnecessary forward declaration.
...
Add "op" parameter. Report operator and operand segments in error
message, not operand symbols.
(resolve_symbol_value): Always set segment for equated symbols, not
just when finalizing. Adjust report_op_error calls.
2011-02-28 04:45:59 +00:00
Joel Brobecker
8ab1f94d63
add FALLTHROUGH comment in ada-exp.y:write_object_renaming
...
gdb/ChangeLog:
From Michael Snyder <msnyder@vmware.com>
* ada-exp.y (write_object_renaming): Add FALLTHROUGH comment.
2011-02-28 04:33:26 +00:00
Jan Kratochvil
7e52cbd0c6
gdb/gdbserver/
...
* hostio.c (require_data): Use free, not xfree.
2011-02-28 04:20:30 +00:00
Joel Brobecker
5e30da2c39
fix small error in gdb.texinfo (Inferiors and Programs)
...
I noticed this error because the nightly snapshot script failed...
gdb/doc/ChangeLog:
* gdb.texinfo (Inferiors and Programs): Fix small error introduced
in the previous change.
2011-02-28 04:08:51 +00:00
Michael Snyder
ae179fba63
2011-02-27 Michael Snyder <msnyder@vmware.com>
...
* objc-lang.c (selectors_info): Prevent string overrun.
2011-02-28 02:14:50 +00:00
Michael Snyder
4b812f4ed9
2011-02-27 Michael Snyder <msnyder@vmware.com>
...
* server.c (handle_query): Discard unused value.
2011-02-28 01:46:51 +00:00
Michael Snyder
086dbf661a
2011-02-27 Michael Snyder <msnyder@vmware.com>
...
* tui/tui-stack.c (tui_get_function_from_frame): Fix off by one
error in strncpy.
2011-02-28 00:20:49 +00:00
gdbadmin
51ab20a7b8
*** empty log message ***
2011-02-28 00:00:03 +00:00
Michael Snyder
9130f83ec8
2011-02-27 Michael Snyder <msnyder@vmware.com>
...
* hostio.c (require_data): Free malloc memory before returning
error.
2011-02-27 23:32:04 +00:00
Alan Modra
9a7d3aa9ac
daily update
2011-02-27 23:00:05 +00:00
Michael Snyder
9c1e305a59
2011-02-27 Michael Snyder <msnyder@vmware.com>
...
* symtab.c (rbreak_command): Move variable 'file_name' to
outer scope.
2011-02-27 22:11:06 +00:00
Michael Snyder
69d371133c
2011-02-26 Michael Snyder <msnyder@vmware.com>
...
* linux-low.c (list_threads): Call closedir for dirent.
2011-02-27 21:41:26 +00:00
Michael Snyder
2a589cef79
2011-02-27 Michael Snyder <msnyder@vmware.com>
...
* i386-low.c (i386-length_and_rw_bits): Comment the fact that
a case statement falls through.
2011-02-27 21:33:10 +00:00