aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-05-08 * remote.c (extended_remote_attach_1): Call target_find_description.Ulrich Weigand2-2/+17
2008-05-08 * regcache.c (registers_length): Remove.Ulrich Weigand4-15/+16
(set_register_cache): Verify that PBUFSIZ is large enough to hold a full register packet. * regcache.h (registers_length): Remove prototype. * server.h (PBUFSIZ): Define to 16384.
2008-05-08 * symtab.c (Symbol::init_base_output_data): Add versionIan Lance Taylor7-81/+201
parameter. Change all callers. (Symbol::init_base_output_segment): Likewise. (Symbol::init_base_constant): Likewise. (Symbol::init_base_undefined): Likewise. (Sized_symbol::init_output_data): Likewise. (Sized_symbol::init_output_segment): Likewise. (Sized_symbol::init_constant): Likewise. (Sized_symbol::init_undefined): Likewise. (Symbol_table::do_define_in_output_data): If the new symbol has a version, mark it as the default. (Symbol_table::do_define_in_output_segment): Likewise. (Symbol_table::do_define_as_constant): Likewise. * symtab.h (class Symbol): Update declarations. (class Sized_symbol): Likewise. * resolve.cc (Symbol::override_version): New function. (Symbol::override_base: Call override_version. (Symbol::override_base_with_special): Likewise. * testsuite/ver_script_8.script: New file. * testsuite/Makefile.am (check_PROGRAMS): Add ver_test_8. (ver_test_8_SOURCES, ver_test_8_DEPENDENCIES): Define. (ver_test_8_LDFLAGS, ver_test_8_LDADD): Define. (ver_test_8_1.so, ver_test_8_2.so): New targets.
2008-05-08 * ld.texinfo (PowerPC64 ELF64): Fix typo.Tom Tromey2-2/+6
2008-05-08 * gdb.base/commands.exp (watchpoint_command_test): HandleDaniel Jacobowitz4-2/+24
gdb,no_hardware_watchpoints. * gdb.base/float.exp: Allow ARM targets without floating point. * gdb.base/step-test.exp: Allow callee@plt when stepping in.
2008-05-08 * remote.c (extended_remote_create_inferior_1): Clean upDaniel Jacobowitz2-4/+11
before marking the target running.
2008-05-08 * hppa-tdep.h, hppa-tdep.c, hppa-hpux-tdep.c: Update for unwinderJoel Brobecker4-206/+173
changes.
2008-05-08*** empty log message ***gdbadmin1-1/+1
2008-05-08daily updateAlan Modra1-1/+1
2008-05-07bfd/Bob Wilson4-9/+48
* elf32-xtensa.c (xtensa_property_section_name): New. (xtensa_make_property_section): New. (xtensa_get_property_section): Make static. Do not create a new section if it does not exist. gas/ * config/tc-xtensa.c (xtensa_create_property_segments): Use xtensa_make_property_section instead of xtensa_get_property_section. (xtensa_create_xproperty_segments): Likewise.
2008-05-07 * sparc-tdep.c, sparc-tdep.h, sparc-sol2-tdep.c, sparc64-tdep.c,Joel Brobecker6-208/+141
sparc64-sol2-tdep.c: Update for unwinder changes.
2008-05-07bfd/Alan Modra10-25/+86
* elf32-spu.c (spu_elf_special_sections): Add "._ea". (spu_elf_relocate_section): Handle relocations against symbols defined in ._ea specially. binutils/ * embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol, and if present, put image in ".data.speelf". Put program handle in ".data.spehandle". ld/emulparams/ * elf32_spu.sh (OTHER_SECTIONS): Add "._ea". * elf32ppc.sh: If building with spu support, put ".data.spehandle" sections at the start of ".data" and provide a symbol to locate the directory of embedded spe programs. ld/testsuite/ * ld-spu/ear.s: Align various sections. * ld-spu/embed.rd: Update.
2008-05-07 * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. CorrectAlan Modra2-7/+20
MAX_K. (fold_binary <SEGMENT_START>): Set expld.result.section to current section. Expand comment. Formatting. (fold_name <DEFINED>): Set expld.result.section to current section.
2008-05-07 * cp-support.c (mangled_name_to_comp): Initialize storage.Daniel Jacobowitz2-2/+7
(unqualified_name_from_comp): Likewise.
2008-05-07 * remote.c (remote_insert_breakpoint): Call get_remote_stateJie Zhang2-8/+20
after gdbarch_breakpoint_from_pc is called. (remote_insert_hw_breakpoint): Likewise.
2008-05-07 PR 6049Ian Lance Taylor7-101/+307
* options.h (DEFINE_set): Add VARNAME_begin and VARNAME_end functions. (class General_options): Remove existing --undefined, and add --no-undefined instead. Add new --undefined as synonym for -u. * archive.cc (Archive::add_symbols): Check whether symbol was named with -u. * gold.cc (queue_middle_tasks): Add -u symbols to symbol table. * symtab.h (class Symbol): Rename CONSTANT to IS_CONSTANT; change all uses. Add IS_UNDEFINED. Update declarations to split different versions of init_base. Declare init_base_undefined. (Symbol::is_defined): Handle IS_UNDEFINED. (Symbol::is_undefined): Likewise. (Symbol::is_weak_undefined): Call is_undefined. (Symbol::is_absolute): Handle IS_CONSTANT. (class Sized_symbol): Update declarations to split different versions of init. Declare init_undefined. (class Symbol_table): Declare new functions. * symtab.cc (Symbol::init_base_object): Rename from init_base. Change all callers. (Symbol::init_base_output_data): Likewise. (Symbol::init_base_output_segment): Likewise. (Symbol::init_base_constant): Likewise. (Symbol::init_base_undefined): New function. (Sized_symbol::init_object): Rename from init. Change all callers. (Sized_symbol::init_output_data): Likewise. (Sized_symbol::init_output_segment): Likewise. (Sized_symbol::init_constant): Likewise. (Sized_symbol::init_undefined): New function. (Symbol_table::add_undefined_symbols_from_command_line): New function. (Symbol_table::do_add_undefined_symbols_from_command_line): New function. (Symbol::final_value_is_known): Handle IS_UNDEFINED. (Symbol::output_section): Likewise. (Symbol::set_output_section): Likewise. (Symbol_table::sized_finalize_symbol): Likewise. (Symbol_table::sized_write_globals): Likewise. * resolve.cc (Symbol_table::should_override): Likewise. (Symbol::override_base_with_special): Likewise.
2008-05-07missed from last commitAlan Modra1-0/+2
2008-05-07*** empty log message ***gdbadmin1-1/+1
2008-05-07daily updateAlan Modra1-1/+1
2008-05-06 * symtab.cc (Symbol_table::add_from_dynobj): If we see a protectedIan Lance Taylor11-11/+310
symbol, change it to have default visibility. * testsuite/protected_1.cc: New file. * testsuite/protected_2.cc: New file. * testsuite/protected_3.cc: New file. * testsuite/protected_main_1.cc: New file. * testsuite/protected_main_2.cc: New file. * testsuite/protected_main_3.cc: New file. * testsuite/Makefile.am (check_PROGRAMS): Add protected_1. (protected_1_SOURCES, protected_1_DEPENDENCIES): Define. (protected_1_LDFLAGS, protected_1_LDADD): Define. (protected_1.so): New target. (protected_1_pic.o, protected_2_pic.o): New targets. (protected_3_pic.o): New target. (check_PROGRAMS): Add protected_2. (protected_2_SOURCES, protected_2_DEPENDENCIES): Define. (protected_2_LDFLAGS, protected_2_LDADD): Define. * testsuite/Makefile.in: Rebuild.
2008-05-06 * gdb.ada/lang_switch: New test program.Joel Brobecker4-0/+118
* gdb.ada/lang_switch.exp: New testcase.
2008-05-06 * valprint.c (val_print): Add new language parameter and use itJoel Brobecker20-60/+124
instead of using the current_language. Update calls to val_print throughout. (common_val_print): Add new langauge parameter and pass it to val_print. * value.h (struct language_defn): Add opaque declaration. (val_print, common_val_print): Update declarations. * stack.c (print_frame_args): Update call to common_val_print using the appropriate language. * mi/mi-cmd-stack.c (list_args_or_locals): Likewise. * c-valprint, f-valprint.c, m2-valprint.c, mt-tdep.c, infcmd.c, mi/mi-main.c, jv-valprint.c, ada-valprint.c, varobj.c, p-valprint.c, scm-valprint.c, cp-valprint.c, sh64-tdep.c, printcmd.c: #include "language.h" if necessary. Update calls to val_print and common_val_print. * Makefile.in (mt-tdep.o, sh64-tdep.o, mi-cmds.o, mi-main.o): Update dependencies.
2008-05-06 * options.h (DEFINE_var): Add set_user_set_##varname__.Ian Lance Taylor3-10/+66
(DEFINE_bool_alias): New macro. (class General_options): Define -Bstatic using DEFINE_bool_alias rather than DEFINE_special. Add --undefined as an alias for -z defs. * options.cc (General_options::parse_Bstatic): Remove.
2008-05-06 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Treat addressesJoel Brobecker2-0/+11
pointing inside a non-executable section as function descriptors.
2008-05-06 * inf-loop.c (inferior_event_handler): Run all continuations andPedro Alves2-14/+24
print any language change before running the breakpoint commands.
2008-05-06 * frame-unwind.c (frame_unwind_got_bytes): New function.Joel Brobecker6-496/+420
* frame-unwind.h (frame_unwind_got_bytes): Add declaration. * libunwind-frame.h, libunwind-frame.c, ia64-tdep.c: Update for unwinder changes.
2008-05-06 * options.h (class General_options): Add --fatal-warnings.Ian Lance Taylor4-0/+18
* main.cc (main): Implement --fatal-warnings. * errors.h (Errors::warning_count): New function.
2008-05-06 * options.h (class General_options): Add -Bsymbolic-functions.Ian Lance Taylor3-6/+39
* symtab.h (Symbol::is_preemptible): Check for -Bsymbolic-functions.
2008-05-06Correct last patch.Ian Lance Taylor1-2/+2
2008-05-062008-05-05 Ian Lance Taylor <iant@google.com>Ian Lance Taylor7-23/+159
* options.h (DEFINE_bool): For DASH_Z, create the negative option as noVARNAME rather than no-VARNAME. (class General_options): Add option -z combreloc. * output.h (class Output_reloc) [SHT_REL]: Declare compare and get_address. (Output_reloc::sort_before) [SHT_REL]: New function. (Output_reloc::sort_before) [SHT_RELA]: New function. (class Output_data_reloc_base): Add sort_relocs_ field. Define Sort_relocs_comparison. (Output_data_reloc_base::Output_data_reloc_base): Add sort_relocs parameter. Change all callers. (Output_data_reloc::Output_data_reloc) [both versions]: Add sort_relocs parameter. Change all callers. * output.cc (Output_reloc::get_address): New function, broken out of write_rel. (Output_reloc::write_rel): Call it. (Output_reloc::compare): New function. (Output_data_reloc_base::do_write): Optionally sort relocs.
2008-05-06daily updateAlan Modra1-1/+1
2008-05-06*** empty log message ***gdbadmin1-1/+1
2008-05-05 * gdb.base/help.exp (disassemble): Update expected help text.Doug Evans2-1/+5
2008-05-05 * NEWS: Mention new /m modifier for disassemble command.Doug Evans5-53/+150
* cli/cli-cmds.c (print_disassembly): New function. (disassemble_current_function): New function (disassemble_command): Recognize /m modifier, print mixed source+assembly. (init_cli_cmds): Update disassemble help text. * gdb.texinfo (disassemble): Document /m modifier.
2008-05-052008-05-05 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev2-181/+70
* xtensa-tdep.c: Update for unwinder changes.
2008-05-05Update m68k port for unwinder changes.Andreas Schwab4-115/+96
* m68k-tdep.c (m68k_frame_cache): Expect this_frame. (m68k_frame_this_id, m68k_frame_prev_register): Update signature. (m68k_frame_unwind): Use default_frame_sniffer. (m68k_frame_sniffer): Remove. (m68k_frame_base_address): Expect this_frame. (m68k_dummy_id): Renamed from m68k_unwind_dummy_id. Expect this_frame. (m68k_gdbarch_init): Use set_gdbarch_dummy_id, dwarf2_append_unwinders, and frame_unwind_append_unwinder. * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Expect frame_info parameter instead of pc value. (m68k_linux_get_sigtramp_info, m68k_linux_sigtramp_frame_cache): Expect this_frame. (m68k_linux_sigtramp_frame_this_id) (m68k_linux_sigtramp_frame_prev_register) (m68k_linux_sigtramp_frame_sniffer): Update signature. (m68k_linux_sigtramp_frame_unwind): Use m68k_linux_sigtramp_frame_sniffer. (m68k_linux_init_abi): Use frame_unwind_append_unwinder. * m68klinux-nat.c (store_register): Fix typo.
2008-05-05 * configure.ac: If targ_extra_obj is set, link it in.Ian Lance Taylor4-0/+20
* configure.tgt: Initialize all variables. (x86_64*): Set targ_extra_obj and targ_extra_size. * configure: Rebuild.
2008-05-05 * object.cc (Sized_relobj::include_section_group): Adjust sectionIan Lance Taylor7-25/+73
indexes read from group data. Build vector to pass to layout_group. * layout.cc (Layout::layout_group): Add flags and shndxes parameters. Remove contents parameter. Change caller. Update explicit instantiations. * layout.h (class Layout): Update layout_group declaration. * output.cc (Output_data_group::Output_data_group): Add flags and input_shndxes parameters. Remove contents parameter. Change caller. (Output_data_group::do_write): Change input_sections_ to input_shndxes_. * output.h (class Output_data_group): Update constructor declaration. Rename input_sections_ to input_shndxes_. * testsuite/many_sections_test.cc: Add template.
2008-05-05 * infcmd.c (step_1): Put thread id on the stack to avoid possiblePedro Alves2-10/+9
NULL dereferencing.
2008-05-05 * symfile.c (reread_symbols): Update objfile's entry point.Luis Machado2-0/+5
2008-05-05Minor typing error fixes in ChangeLog.Aleksandar Ristovski1-5/+5
2008-05-05 * ada-lang.c: Update throughout to use symbol_matches_domainAleksandar Ristovski5-31/+62
instead of matching the symbol domain explictly. * dwarf2read.c (add_partial_symbol): Do not add new psym for STRUCT_DOMAIN. Make sure you recognize c++ struct and java and ada class as typedefs. See lookup_partial_symbol function. (new_symbol): Similar to add_partial_symbol, do not create symbol for the typedef. See lookup_block_symbol. * symtab.c (symbol_matches_domain): New function, takes care of dual meaning of STRUCT_DOMAIN symbol for c++, ada and java. (lookup_partial_symbol): Use symbol_matches_domain to see if the found psym domain matches the given domain. (lookup_block_symbol): Likewise.
2008-05-05Added 3 miscellaneous testcases like read32.ms uread16.ms hw-trap.ms.M R Swami Reddy3-0/+44
2008-05-05These files removed.M R Swami Reddy3-131/+0
2008-05-05Add the change for testcases comment update and new testcases addition.M R Swami Reddy1-0/+14
2008-05-05Update testcase comment.M R Swami Reddy53-60/+315
addb.cgs addd.cgs addi.cgs andb.cgs andd.cgs andw.cgs ashub.cgs ashub_i.cgs ashud.cgs ashud_i.cgs ashuw.cgs ashuw_i.cgs cmpi.cgs cmpw.cgs jlt.cgs jump.cgs loadd.cgs loadw.cgs lshb.cgs lshb_i.cgs lshd.cgs lshd_i.cgs lshw.cgs lshw_i.cgs movb.cgs movd.cgs movw.cgs movxb.cgs movxw.cgs movzb.cgs movzw.cgs mulb.cgs muluw.cgs mulw.cgs orb.cgs ord.cgs orw.cgs pop1.cgs pop2.cgs pop3.cgs popret1.cgs popret2.cgs popret3.cgs push1.cgs push2.cgs push3.cgs Added BIT operation testcases: cbitb.cgs cbitw.cgs sbitb.cgs sbitw.cgs tbitb.cgs tbit.cgs and tbitw.cgs
2008-05-05 * top.c (command_line_handler_continuation): Remove.Vladimir Prus4-55/+14
(execute_command): Do not install the above.
2008-05-05Comment changeM R Swami Reddy1-2/+2
2008-05-05Updated the sim engine's ecode logic and commit the code changesM R Swami Reddy1-0/+6
2008-05-05Update for code standardsM R Swami Reddy1-70/+62