Tom Tromey
bd2e94cec8
* symtab.c (search_symbols): Update.
...
* symtab.h (domain_enum_tag) <METHODS_DOMAIN>: Remove.
2008-10-01 17:25:22 +00:00
Tom Tromey
8b41ec6501
* symfile.c (syms_from_objfile): Update.
...
(reread_symbols): Update.
* objfiles.h (OBJF_SYMS): Remove.
(OBJF_REORDERED): Renumber.
(OBJF_SHARED): Likewise.
(OBJF_READNOW): Likewise.
(OBJF_USERLOADED): Likewise.
2008-10-01 17:21:06 +00:00
Tom Tromey
712f90be02
* symtab.c (find_pc_sect_psymtab): Use MSYMBOL_TYPE.
...
(find_pc_sect_symtab): Likewise.
* symmisc.c (dump_msymbols): Use MSYMBOL_TYPE.
* solib-som.c (som_solib_desire_dynamic_linker_symbols): Use
MSYMBOL_TYPE, not SYMBOL_TYPE.
* parse.c (write_exp_msymbol): Use MSYMBOL_TYPE.
* objc-lang.c (find_methods): Use MSYMBOL_TYPE.
* minsyms.c (lookup_minimal_symbol_by_pc_section_1): Use
MSYMBOL_TYPE.
* m2-exp.y (yylex): Use SYMBOL_CLASS.
2008-10-01 16:56:52 +00:00
Joel Brobecker
87f67dbac2
* gdb.texinfo (catch) [exception]: Document how to insert
...
a breakpoint on user-defined exceptions when the exception
name is identical to one of the language-defined ones.
2008-10-01 16:44:47 +00:00
Tom Tromey
b887350fc5
* xcoffread.c (RECORD_MINIMAL_SYMBOL): Update.
...
(scan_xcoff_symtab): Update.
* mdebugread.c (record_minimal_symbol): Update.
(parse_partial_symbols): Update.
* elfread.c (record_minimal_symbol): Update.
* dbxread.c (record_minimal_symbol): Update.
* coffread.c (record_minimal_symbol): Update.
* sh64-tdep.c (MSYMBOL_IS_SPECIAL): Redefine.
(sh64_elf_make_msymbol_special): Update.
* mips-tdep.c (mips_elf_make_msymbol_special): Use
MSYMBOL_TARGET_FLAG_1.
(mips_elf_make_msymbol_special): Likewise.
(msymbol_is_special): Likewise.
* minsyms.c (prim_record_minimal_symbol_and_info): Update.
(install_minimal_symbols): Likewise.
(prim_record_minimal_symbol): Update.
(prim_record_minimal_symbol_and_info): Remove 'info' argument.
* m68hc11-tdep.c (MSYMBOL_SET_RTC): Redefine.
(MSYMBOL_SET_RTI): Redefine.
(MSYMBOL_IS_RTC): Redefine.
(MSYMBOL_IS_RTI): Redefine.
* arm-tdep.c (MSYMBOL_SET_SPECIAL): Redefine.
(MSYMBOL_IS_SPECIAL): Redefine.
* symtab.h (struct minimal_symbol) <info>: Remove.
<target_flag_1, target_flag_2>: New fields.
(MSYMBOL_INFO): Remove.
(MSYMBOL_TARGET_FLAG_1): New macro.
(MSYMBOL_TARGET_FLAG_2): Likewise.
(prim_record_minimal_symbol_and_info): Update.
2008-10-01 16:41:27 +00:00
Joel Brobecker
d35e579508
* ada-lang.c (is_digits_suffix): Delete unused function.
2008-10-01 02:23:18 +00:00
gdbadmin
e846c30a01
*** empty log message ***
2008-10-01 00:00:34 +00:00
Alan Modra
c1ea295fc3
daily update
2008-10-01 00:00:07 +00:00
Joel Brobecker
d37209fddb
* ada-lang.c (ada_modulus): Correct to avoid sign problem with
...
moduli >= 2**31.
2008-09-30 21:53:32 +00:00
Joel Brobecker
b1f33ddde1
* ada-lang.c (ada_lookup_struct_elt_type): Handle case of a "naked"
...
variant branch.
(empty_record): Use INIT_CPLUS_SPECIFIC, since this field is not
supposed to be null. Fixes debugger segfaults.
(is_unchecked_variant): New function.
(to_fixed_variant_branch_type): Modify to leave unchecked unions
untouched.
(ada_template_to_fixed_record_type_1): Fix comment.
2008-09-30 21:36:21 +00:00
Joel Brobecker
3d0b0fa396
* ada-lang.c (standard_exc): New static constant.
...
(ada_exception_catchpoint_cond_string): Add special handling
for the predefined exceptions.
2008-09-30 20:42:21 +00:00
Joel Brobecker
cdc7bb92c7
* ada-lang.c (ADA_RETAIN_DOTS): Delete this dead macro. Update
...
the code accordingly.
2008-09-30 20:14:13 +00:00
H.J. Lu
c587b3f982
2008-09-30 H.J. Lu <hongjiu.lu@intel.com>
...
* i386-gen.c: Include "hashtab.h".
(next_field): Take a new argument, last. Check last.
(process_i386_cpu_flag): Updated.
(process_i386_opcode_modifier): Likewise.
(process_i386_operand_type): Likewise.
(process_i386_registers): Likewise.
(output_i386_opcode): New.
(opcode_hash_entry): Likewise.
(opcode_hash_table): Likewise.
(opcode_hash_hash): Likewise.
(opcode_hash_eq): Likewise.
(process_i386_opcodes): Use opcode hash table and opcode array.
2008-09-30 19:47:14 +00:00
Joel Brobecker
6b0d7253af
* ada-lang.c (ada_evaluate_subexp) [UNOP_IND]: Remove strange
...
treatment of expect_type. Return the correct type when dereferencing
an integer.
2008-09-30 18:46:37 +00:00
Tom Tromey
9a044a8903
gdb
...
PR gdb/2484:
* symtab.c (struct add_macro_name_data): New struct.
(add_macro_name): New function.
(default_make_symbol_completion_list): Complete macro names.
* scm-lang.c (scm_language_defn): Update.
* p-lang.c (pascal_language_defn): Update.
* objc-lang.c (objc_language_defn): Update.
* macrotab.h (macro_callback_fn): Add user_data argument.
(macro_for_each): Likewise.
(macro_for_each_in_scope): Declare.
* macrotab.c: (struct macro_for_each_data): New struct.
(foreach_macro): Use it.
(macro_for_each): Likewise.
(foreach_macro_in_scope): New function.
(macro_for_each_in_scope): Likewise.
* macrocmd.c (print_one_macro): Add argument.
(macro_list_command): Pass NULL to macro_for_each.
* m2-lang.c (m2_language_defn): Update.
* language.h (struct language_defn) <la_macro_expansion>: New
field.
(macro_expansion): New enum.
* language.c (unknown_language_defn): Update. Fix order of
initializers.
(auto_language_defn): Likewise.
(local_language_defn): Update.
* jv-lang.c (java_language_defn): Update.
* f-lang.c (f_language_defn): Update.
* c-lang.c (c_language_defn): Update.
(cplus_language_defn): Likewise.
(asm_language_defn): Likewise.
(minimal_language_defn): Likewise.
* ada-lang.c (ada_language_defn): Update.
gdb/testsuite
* gdb.base/macscp.exp: Add completion tests.
* gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
(TWENTY_THREE): Likewise.
(FORTY_EIGHT): Likewise.
2008-09-30 17:21:28 +00:00
Joel Brobecker
b084d49989
* dwarf2read.c (dwarf2_get_subprogram_pc_bounds): New function.
...
(get_scope_pc_bounds): Use it.
2008-09-30 16:57:37 +00:00
Tom Tromey
506800a969
* gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
...
everywhere.
* gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
2008-09-30 16:53:06 +00:00
Joseph Myers
b796d39d3a
* emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.opd
...
and .rela.branch_lt.
2008-09-30 15:04:34 +00:00
Nick Clifton
42b722c134
PR 6922
...
* stabs.c (parse_stab_sun_builtin_type): Parse, but ignore SUN's
'b' and 'v' extensions.
2008-09-30 12:19:51 +00:00
Nick Clifton
e144674af8
* coffgen.c (coff_write_symbols): Check to see if a symbol's flags
...
do not match it class and if necessary update the class.
(null_error_handler): New function. Suppresses the generation of
bfd error messages.
* coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
* config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
S_SET_STORAGE_CLASS.
2008-09-30 10:50:03 +00:00
Andreas Krebbel
34b23dab7e
2008-09-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
...
* s390-opc.txt (stdy, stey): Fix description
2008-09-30 08:49:54 +00:00
Alan Modra
782e11fd41
run "make dep-am"
2008-09-30 07:49:32 +00:00
Alan Modra
33177bb154
* elflink.c (elf_link_add_object_symbols): Don't ignore returned
...
value of check_directives.
2008-09-30 04:47:50 +00:00
Alan Modra
c0cf08ad1b
* dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
...
tc_cfi_emit_pcrel_expr macro.
2008-09-30 04:44:29 +00:00
gdbadmin
2254aa74ee
*** empty log message ***
2008-09-30 00:00:32 +00:00
Alan Modra
9b7bf91e70
daily update
2008-09-30 00:00:05 +00:00
Cary Coutant
81636b3fef
Added missing files to ChangeLog entry.
2008-09-29 21:26:39 +00:00
Cary Coutant
fbd8a2572e
* archive.cc (Archive::get_file_and_offset): Use filename instead
...
of name to get library path.
(Archive::include_member): Unlock external member of a thin archive.
* testsuite/Makefile.am (TEST_AR): New variable.
(thin_archive_test_1): New test.
(thin_archive_test_2): New test.
2008-09-29 21:23:02 +00:00
Cary Coutant
eff458138e
* mapfile.cc (Mapfile::print_input_section): Change -1U to -1ULL.
...
* object.cc (Sized_relobj::do_layout): Use constant invalid_address
instead of -1U.
(Sized_relobj::do_finalize_local_symbols): Likewise.
(Sized_relobj::map_to_kept_section): Likewise.
* object.h (Sized_relobj::invalid_address): New constant.
(Sized_relobj::do_output_section_offset): Check for invalid_address
and return -1ULL.
* output.cc (Output_reloc::local_section_offset): Use constant
invalid_address instead of -1U.
(Output_reloc::get_address): Likewise.
(Output_section::output_address): Change -1U to -1ULL.
* output.h (Output_reloc::invalid_address): New constant.
* reloc.cc (Sized_relobj::write_sections): Use constant
invalid_address instead of -1U.
(Sized_relobj::relocate_sections): Likewise.
* symtab.cc (Symbol_table::sized_finalize_symbol): Handle symbol
values for merge sections.
* target-reloc.h (relocate_for_relocatable): Use constant
invalid_address instead of -1U.
2008-09-29 21:10:26 +00:00
H.J. Lu
1927a18f31
2008-09-29 H.J. Lu <hongjiu.lu@intel.com>
...
* aclocal.m4: Regenerated.
* configure: Likewise.
* Makefile.in: Likewise.
2008-09-29 16:54:07 +00:00
Steve Ellcey
b214d478d7
* configure: Regenerate for new libtool.
...
* aclocal.m4: Ditto.
* Makefile.in: Ditto.
2008-09-29 15:36:22 +00:00
Steve Ellcey
718a6fd816
* configure: Regenerate for new libtool.
...
* aclocal.m4: Ditto.
* Makefile.in: Ditto.
* doc/Makefile.in: Ditto.
2008-09-29 15:34:33 +00:00
Steve Ellcey
b25062aeb5
* libtool.m4: Update to libtool 2.2.6.
...
* lt~obsolete.m4: Update to libtool 2.2.6.
* ltmain.sh: Update to libtool 2.2.6.
* ltsugar.m4: Update to libtool 2.2.6.
* ltversion.m4: Update to libtool 2.2.6.
* ltoptions.m4: Update to libtool 2.2.6.
* ltgcc.m4: Update to match changes from libtool 2.2.6.
2008-09-29 15:28:14 +00:00
Nick Clifton
c0a139c7d1
PR 6878
...
* app.c (do_scrub_chars): Only issue warnings about tick
characters detected in symbol strings if hex ticks are supported.
2008-09-29 14:20:39 +00:00
Alan Modra
ceae84aacf
bfd/
...
PR 6789
* elf.c (assign_file_positions_for_load_sections): Call
_bfd_elf_map_sections_to_segments, not elf_modify_segment_map.
(get_program_header_size): Protect against NULL info.
(_bfd_elf_map_sections_to_segments): Likewise.
* elf32-spu.c (spu_elf_additional_program_headers): Likewise.
ld/testsuite/
* ld-elf/extract-symbol-1sec.d: Correct section lma.
2008-09-29 14:12:02 +00:00
Kai Tietz
b8a4873487
2008-09-26 Kai Tietz <kai.tietz@onevision.com>
...
* pe-dll.c (make_import_fixup_entry): Make sure reloc is addend.
2008-09-29 14:01:50 +00:00
Nick Clifton
afac680a76
* po/vi.po: Updated Vietnamese translation.
...
* po/fr.po: Updated French translation.
2008-09-29 09:48:31 +00:00
gdbadmin
d6026485e1
*** empty log message ***
2008-09-29 00:00:32 +00:00
Alan Modra
6948ff7e01
daily update
2008-09-29 00:00:05 +00:00
Daniel Jacobowitz
4f6d9c90b4
* NEWS: Mention .cfi_val_encoded_addr.
2008-09-28 15:15:32 +00:00
Alan Modra
9659de1cb3
* elf.c (_bfd_elf_init_private_section_data): Tweak union copy.
...
(bfd_section_from_shdr): Don't change SHT_GROUP section name.
* elflink.c (section_signature): New function.
(_bfd_elf_section_already_linked): Use it.
2008-09-28 13:30:35 +00:00
Alan Modra
119f424500
* objcopy.c (setup_section): Set elf_group_id.
2008-09-28 13:29:18 +00:00
Jan Kratochvil
1a6f01b5dc
gdb/testsuite/
...
* gdb.threads/attachstop-mt.exp: Note a real testcase name this
testcase is derived from. Fix racy dependency on an expected PID
number. No longer support the testcase on Linux kernel 2.4.x.
2008-09-28 11:39:45 +00:00
gdbadmin
6593d811a0
*** empty log message ***
2008-09-28 00:00:33 +00:00
Alan Modra
e7714d0e20
daily update
2008-09-28 00:00:05 +00:00
Tom Tromey
2fae03e85b
gdb
...
* NEWS: Update.
* macrocmd.c (extract_identifier): Add is_parameter argument.
(macro_define_command): Update.
(macro_undef_command): Likewise.
* macroexp.c (stringify): New function.
(find_parameter): Likewise.
(gather_arguments): Add nargs argument. Handle varargs.
(substitute_args): Add is_varargs and va_arg_name arguments.
Handle varargs, splicing, stringification. Use find_parameter.
(expand): Handle varargs.
gdb/doc
* gdb.texinfo (Macros): Remove text about stringification,
varargs, and splicing.
gdb/testsuite
* gdb.base/macscp.exp: Add tests for stringification, splicing,
and varargs.
2008-09-27 21:40:49 +00:00
Tom Tromey
5c6ce71d76
gdb
...
* scm-lang.c (scm_language_defn): Update.
* p-typeprint.c (pascal_print_typedef): New function.
* p-lang.h: (pascal_print_typedef): Declare.
* p-lang.c (pascal_language_defn): Update.
* objc-lang.c (objc_language_defn): Update.
* m2-typeprint.c (m2_print_typedef): New function.
* m2-lang.h (m2_print_typedef): Declare.
* m2-lang.c (m2_language_defn): Update.
* language.h (_LANG_c, _LANG_m2, _LANG_fortran, _LANG_pascal):
Remove.
(struct language_defn) <la_print_typedef>: New field.
(default_print_typedef): Declare.
(LA_PRINT_TYPEDEF): New define.
* language.c (unknown_language_defn): Update.
(auto_language_defn): Update.
(local_language_defn): Update.
* jv-lang.c (java_language_defn): Update.
* f-lang.c (f_language_defn): Update.
* c-typeprint.c (c_print_typedef): New function.
* c-lang.h (c_print_typedef): Declare.
* c-lang.c (c_language_defn): Update.
(cplus_language_defn): Update.
(asm_language_defn): Update.
(minimal_language_defn): Update.
* ada-lang.c (ada_language_defn): Update.
* typeprint.c (default_print_typedef): New function.
gdb/doc
* gdbint.texinfo (Language Support): Remove text about omitting
support for a language.
2008-09-27 21:29:30 +00:00
Tom Tromey
09be204ecc
* jv-exp.y (insert_exp): Define using ISO syntax.
...
(copy_exp): Likewise.
(push_expression_name): Likewise.
(push_fieldnames): Likewise.
(java_type_from_name): Likewise.
(yyerror): Likewise.
(yylex): Likewise.
(parse_number): Likewise.
2008-09-27 17:03:16 +00:00
Alan Modra
392b5e2b04
daily update
2008-09-27 00:00:05 +00:00
gdbadmin
fadaeb9526
*** empty log message ***
2008-09-27 00:00:03 +00:00