aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-13 * fileread.cc (Input_file::open): Remove options parameter.Ian Lance Taylor10-43/+43
Change all callers. (Input_file::open_binary): Likewise. * script.cc (read_input_script): Likewise. * readsyms.h (class Read_symbols): Remove options_ field. Remove options parameter from constructor. Change all callers. (class Read_script): Likewise. * fileread.h (class Input_file): Update declarations. * script.h (read_input_script): Update declaration.
2009-03-13 * symtab.c (lookup_symbol_in_language): Use a cleanup.Tom Tromey2-5/+8
2009-03-13 * exceptions.h: Clean up some comments on catch_exceptions usage.Doug Evans3-22/+31
* exceptions.c: Ditto. Plus mark catch_errors as superseded by catch_exceptions.
2009-03-13bfd/H.J. Lu4-4/+29
2009-03-13 H.J. Lu <hongjiu.lu@intel.com> PR binutils/9945 * elf.c (assign_section_numbers): Generate symbol table if there is any relocation in output. (_bfd_elf_compute_section_file_positions): Likewise. binutils/ 2009-03-13 H.J. Lu <hongjiu.lu@intel.com> PR binutils/9945 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
2009-03-13 PR 9934Nick Clifton4-10/+41
* elf-bfd.h (NUM_SHDR_ENTRIES): Cope with an empty section. * elflink.c (elf_link_read_relocs_from_section): Use NUM_SHDR_ENTRIES. Gracefully handle the case where there are relocs but no symbol table. * elf32-arm.c (elf32_arm_check_relocs): Likewise.
2009-03-13 * gdb.mi/mi-cli.exp: Adjust for output difference inVladimir Prus2-4/+26
sync and async modes.
2009-03-13 * lib/ld-lib.exp (run_dump_test): Add verbose to list of globals.Nick Clifton2-9/+11
Replace call to verbose_eval with a test of verbose level. If greater than 2 always dump the contents of the dumpfile. If equal to 2 only dump the contents if the regexp diff failed. (proc verbose_eval): Delete.
2009-03-13 * Makefile.in, hostio-errno.c, errno.c, xtensa-xtregs.c: Change toNathan Sidwell5-12/+12
GPLv3, update license URL.
2009-03-13 * source.c (source_full_path_of): Constify parameter filename.Joel Brobecker3-2/+9
* defs.h (source_full_path_of): Update declaration accordingly.
2009-03-13 * ada-lang.c (ada_evaluate_subexp): Merge case BINOP_REM andJoel Brobecker2-17/+9
BINOP_MOD cases with the handling of case BINOP_DIV and BINOP_MUL. Remove useless op value checks when EVAL_AVOID_SIDE_EFFECTS.
2009-03-13 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out codeJoel Brobecker2-19/+6
that was checked in by mistake. Remove loading of ada.exp, since this is not necessary in this case.
2009-03-13 * gdb.ada/ptype_arith_binop.exp: New testcase.Joel Brobecker2-0/+59
2009-03-13 * ada-lang.c (ada_evaluate_subexp) <BINOP_DIV>: make sure toJoel Brobecker2-1/+9
promote the operands when noside is EVAL_AVOID_SIDE_EFFECTS.
2009-03-13Fix the author name in the last entry.Joel Brobecker1-1/+1
2009-03-13 * ada-tasks.c (ada_task_is_alive): Move up and make static.Joel Brobecker3-11/+14
* ada-lang.h (ada_task_is_alive): Remove declaration.
2009-03-13 * ada-lang.c (ada_delta): Change the type of numerators andJoel Brobecker2-7/+23
denominators to DOUBLEST, as they may not fit into a long. (scaling_factor): Ditto.
2009-03-13Improve the last changelog entry.Joel Brobecker1-2/+1
2009-03-13 * language.c (lang_bool_type): Return a builtin bool type in theJoel Brobecker2-1/+6
Ada case.
2009-03-13 * ada-lang.c (ada_evaluate_subexp) [OP_VAR_VALUE]: For taggedJoel Brobecker2-1/+18
types, if we are unable to determine the actual symbol type from its tag, then use the static approximation instead.
2009-03-13*** empty log message ***gdbadmin1-1/+1
2009-03-13daily updateAlan Modra1-1/+1
2009-03-12 * gdb.ada/mod_from_name: New testcase.Joel Brobecker3-0/+87
2009-03-12 Fix crash printing packed record with packed array.Joel Brobecker2-1/+57
* ada-lang.c (ada_modulus_from_name): New function. (ada_modulus): In the case where the type length is bigger than the size of the type used to hold the bounds, try determining the modulus from the type name. (ada_value_primitive_packed_val): Fix bug in the computation of ntarg causing an out-of-buffer invalid access.
2009-03-12 * gdb.ada/tick_last_segv: New testcase.Joel Brobecker3-0/+72
2009-03-12 Fix segfault when printing short_integer'last.Joel Brobecker2-2/+14
* ada-lang.c (ada_find_any_type): Search in the primitive types if a symbol could not be found.
2009-03-12 * ada-tasks.c (task_states,long_task_states): Add new statesJoel Brobecker2-5/+17
Activating and Acceptor_Delay_Sleep. Update the description of state Acceptor_Sleep.
2009-03-12 Fix a build failure on Darwin following some changes inJoel Brobecker2-6/+15
the profile of some target_ops methods. * darwin-nat.c (darwin_kill_inferior): Add target_ops parameter where missing. (darwin_stop_inferior, darwin_detach): Likewise.
2009-03-12 * gdb.mi/mi-cli.exp: Remove debug print.Vladimir Prus2-1/+4
2009-03-12 Include token in ^running notification for CLI commands.Vladimir Prus4-5/+38
* mi/mi-main.c (mi_execute_command): Set current_token here. (mi_cmd_execute): Do not set current_token here.
2009-03-12 Fix MI timings.Vladimir Prus4-13/+28
* mi/mi-main.c (mi_print_timing_maybe): New. (captured_mi_execute_command): Simplify. Output timings to CLI commands, too. (mi_execute_async_cli_command): Do not print timings. * mi/mi-main.h (mi_print_timing_maybe): Declare. * mi/mi-interp.c (mi_on_normal_stop): Call mi_print_timing_maybe.
2009-03-12 * xcoffread.c (process_linenos): Check if the line in theJoel Brobecker2-9/+31
include table refers to the main source file and, if so, add them to the main subfile.
2009-03-12 Fix a build failure on AIX introduced after a change in the profileJoel Brobecker2-8/+28
of some of the "methods" in the target_ops structure. * aix-thread.c: Add missing target_ops parameter throughout. Implement Ada task switching on AIX. * aix-thread.c (aix_thread_get_ada_task_ptid): New function. (init_aix_thread_ops): Set aix_thread_ops.to_get_ada_task_ptid.
2009-03-122009-03-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+17
PR ld/9938 * elf32-i386.c (elf_i386_check_tls_transition): Use strncmp to check ___tls_get_addr. * elf64-x86-64.c (elf64_x86_64_check_tls_transition): Use strncmp to check __tls_get_addr.
2009-03-122009-03-12 Andrew Stubbs <ams@codesourcery.com>Andrew Stubbs2-38/+43
* dwarf2.c (read_section): Always check the offset, even when the section has been read before.
2009-03-12*** empty log message ***gdbadmin1-1/+1
2009-03-12daily updateAlan Modra1-1/+1
2009-03-11 * binutils-all/objdump.W, binutils-all/objdump.s: Don't matchJoseph Myers3-2/+7
literal "tmpdir/" in expected output.
2009-03-11 * breakpoint.c (bpstat_check_breakpoint_conditions): UseDaniel Jacobowitz3-2/+18
value_mark and value_free_to_mark. * objfiles.c (free_objfile): Call objfile_free_data before freeing the BFD.
2009-03-112009-03-11 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+6
* elf32-i386.c (elf_i386_check_tls_transition): Fix a typo in comments.
2009-03-11[bfd/ChangeLog]Chris Demetriou9-5/+144
2009-03-11 Chris Demetriou <cgd@google.com> * bfd.c (BFD_DETERMINISTIC_OUTPUT): New flag. * bfd-in2.h: Regenerate. * archive.c (bfd_ar_hdr_from_filesystem): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0 for uid, gid, and timestamp, and use 0644 for file mode. (bsd_write_armap): Likewise. (_bfd_archive_bsd_update_armap_timestamp): If BFD_DETERMINISTIC_OUTPUT flag is set, do nothing. (coff_write_armap): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0 for timestamp. [binutils/ChangeLog] 2009-03-11 Chris Demetriou <cgd@google.com> * ar.c (deterministic): New global variable. (main): Recognize new 'D' option, which enables 'deterministic mode'. (usage): Document new 'D' option. (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's flags if deterministic mode was requested. * doc/binutils.texi (ar): Document deterministic mode ('D' option). [binutils/testsuite/ChangeLog] 2009-03-11 Chris Demetriou <cgd@google.com> * binutils-all/ar.exp (deterministic_archive): New test.
2009-03-11 * config/tc-cris.c (cris_create_short_jump): Remove prototype.Hans-Peter Nilsson3-23/+31
Rename, changing all callers, to... (md_create_short_jump): Adjust head comment. Assert word-sized-branch distance for v32. Bail out calling as_fatal for compatibility mode here. (md_create_long_jump): ...not here. * config/tc-cris.h (md_create_short_jump): Do not define.
2009-03-11 * gas/cris/rd-bkw5.d, gas/cris/rd-bkw5.s, gas/cris/rd-bkw5b.d,Hans-Peter Nilsson10-0/+183
gas/cris/rd-bkw5bpic.d, gas/cris/rd-bkw5bv32.d, gas/cris/rd-bkw5bv32pic.d, gas/cris/rd-bkw5pic.d, gas/cris/rd-bkw5v32.d, gas/cris/rd-bkw5v32pic.d: New tests.
2009-03-11 * elf32-spu.c (find_function_stack_adjust): Handle sf instructionUlrich Weigand2-0/+18
used to update stack pointer.
2009-03-11*** empty log message ***gdbadmin1-1/+1
2009-03-11daily updateAlan Modra1-1/+1
2009-03-10 * gas/cris/rd-bkw4.d, gas/cris/rd-bkw4v32.d, gas/cris/rd-bkw4.s:Hans-Peter Nilsson4-0/+155
New test.
2009-03-10 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patchingHans-Peter Nilsson2-10/+29
the jump table for multiple overflowing entries with the same target, handle base symbols being different. (relax_segment) <case rs_broken_word, second loop>: Whenever a single entry overflows, arrange to redirect all entries with the same target.
2009-03-10Add Spanish translation to gold.Nick Clifton4-132/+2764
Update Indonesian translation for opcodes.
2009-03-10 * disasm.c (gdb_disassembly): Remove unused argumentHui Zhu5-4/+9
"line_num". * disasm.h (gdb_disassembly): Ditto. * cli/cli-cmds.c (print_disassembly): Ditto. * mi/mi-cmd-disas.c (mi_cmd_disassemble): Ditto.
2009-03-10include/opcode/Alan Modra9-303/+288
* ppc.h (ppc_parse_cpu): Declare. opcodes/ * ppc-dis.c: Include "opintl.h". (struct ppc_mopt, ppc_opts): New. (ppc_parse_cpu): New function. (powerpc_init_dialect): Use it. (print_ppc_disassembler_options): Dump options from ppc_opts. Internationalize message. gas/ * config/tc-ppc.c (parse_cpu): Delete. (md_parse_option, ppc_machine): Use ppc_parse_cpu. gas/testsuite/ * gas/ppc/altivec_and_spe.d (objdump): Add -Maltivec. * gas/ppc/common.d: Adjust for -Mcom not including -Mppc.