gdbadmin
a6110ce764
*** empty log message ***
2008-05-21 00:00:02 +00:00
Pedro Alves
8fa75a5d17
* frame.c (get_prev_frame_1): Build frame id before setting
...
this_frame->prev_p, not after.
2008-05-20 22:21:19 +00:00
Nick Roberts
79afeace62
Test for new annotation.
2008-05-20 21:11:04 +00:00
Nick Roberts
55f996a733
*** empty log message ***
2008-05-20 21:10:31 +00:00
Nick Roberts
173142693f
(Multi-threaded Apps): New node for new annotation.
2008-05-20 21:09:37 +00:00
Nick Roberts
6b59c36b65
(thread.o): Add dependency on annotate.h.
2008-05-20 21:06:56 +00:00
Nick Roberts
d4fc5b1ea7
(add_thread_with_info): Use it.
2008-05-20 21:05:07 +00:00
Nick Roberts
6dfcd28457
(annotate_new_thread): New extern.
2008-05-20 21:04:13 +00:00
Nick Roberts
d17d49478f
(annotate_new_thread): New function for new-thread
...
annotation.
2008-05-20 21:03:34 +00:00
Nick Roberts
e8e48118bb
*** empty log message ***
2008-05-20 21:02:27 +00:00
Joel Brobecker
c57918b25b
* win32-nat.c (win32_wait): Block the control-c event while
...
waiting for a debug event.
2008-05-20 18:36:36 +00:00
gdbadmin
dbd3da1de4
*** empty log message ***
2008-05-20 00:00:03 +00:00
Pedro Alves
6c9353d346
* symtab.h (lookup_symbol_in_language): Update comment.
...
* symtab.c (lookup_symbol_aux_block): Update comment.
* ada-lang.c (ada_lookup_symbol_list): Update comment.
2008-05-19 18:37:07 +00:00
Ulrich Weigand
2570f2b7e1
* symtab.h (lookup_symbol_in_language): Remove SYMTAB parameter.
...
(lookup_symbol): Likewise.
* symtab.c (lookup_symbol_in_language): Remove SYMTAB parameter.
(lookup_symbol): Likewise.
(search_symbols): Update.
* linespec.c (find_methods, collect_methods): Update.
(add_matching_methods, add_constructors): Update.
(decode_compound, decode_dollar, decode_variable): Update.
(lookup_prefix_sym): Update.
(symbol_found): Remove SYM_SYMTAB parameter.
Use SYMBOL_SYMTAB (sym) instead.
* gdbtypes.c (lookup_typename): Update.
(lookup_struct, lookup_union, lookup_enum): Update.
(lookup_template_type): Update.
(check_typedef): Update.
* language.c (lang_bool_type): Update.
* mdebugread.c (parse_procedure): Update.
* mi/mi-cmd-stack.c (list_args_or_locals): Update.
* parse.c (write_dollar_variable): Update.
* printcmd.c (address_info): Update.
* source.c (select_source_symtab): Update.
* stack.c (print_frame_args, print_frame_arg_vars): Update.
* valops.c (find_function_in_inferior): Update.
(value_struct_elt_for_reference): Update.
* value.c (value_static_field, value_fn_field): Update.
* alpha-mdebug-tdep.c (find_proc_desc): Update.
* arm-tdep.c (arm_skip_prologue): Update.
* mt-tdep.c (mt_skip_prologue): Update.
* xstormy16-tdep.c (xstormy16_skip_prologue): Update.
* ada-lang.h (struct ada_symbol_info): Remove SYMTAB member.
* ada-lang.c (ada_add_block_symbols): Remove SYMTAB parameter.
(add_defn_to_vec): Likewise.
(ada_add_block_symbols): Likewise.
(lookup_cached_symbol, cache_symbol): Likewise.
(standard_lookup): Update.
(ada_lookup_symbol_list): Update.
* c-valprint.c (c_val_print): Update.
* cp-support.c (cp_lookup_rtti_type): Update.
* jv-lang.c (java_lookup_class, get_java_object_type): Update.
* objc-lang.c (lookup_struct_typedef, find_imps): Update.
* p-valprint.c (pascal_val_print): Update.
* scm-lang.c (scm_lookup_name): Update.
* c-exp.y: Update.
* f-exp.y: Update.
* jv-exp.y: Update.
* m2-exp.y: Update.
* objc-exp.y: Update.
* p-exp.y: Update.
2008-05-19 15:50:10 +00:00
Ulrich Weigand
21b556f400
* language.h (struct language_defn): Remove SYMTAB parameter from
...
la_lookup_symbol_nonlocal callback function pointer.
* ada-lang.h (ada_lookup_encoded_symbol): Remove SYMTAB parameter.
(ada_lookup_encoded_symbol): Likewise.
* ada-lang.c (ada_lookup_encoded_symbol): Remove SYMTAB parameter.
Always call fixup_symbol_section.
(ada_lookup_symbol): Remove SYMTAB parameter.
(ada_lookup_symbol_nonlocal): Likewise.
* ada-exp.y (write_object_renaming): Update.
(find_primitive_type): Likewise.
* cp-support.h (cp_lookup_symbol_nonlocal): Remove SYMTAB parameter.
(cp_lookup_symbol_namespace): Likewise.
* cp-namespace.c (lookup_namespace_scope): Remove SYMTAB parameter.
(lookup_symbol_file): Likewise.
(lookup_possible_namespace_symbol): Likewise.
(cp_lookup_symbol_nonlocal): Likewise.
(cp_lookup_symbol_namespace): Likewise.
(cp_lookup_nested_type): Update.
* scm-valprint.c (scm_inferior_print): Update.
* valops.c (value_maybe_namespace_elt): Update.
* solist.h (struct target_so_ops): Remove SYMTAB parameter from
lookup_lib_global_symbol callback function pointer.
(solib_global_lookup): Remove SYMTAB parameter.
* solib.c (solib_global_lookup): Remove SYMTAB parameter.
* solib-svr4.c (elf_lookup_lib_symbol): Likewise.
* symtab.h (basic_lookup_symbol_nonlocal): Remove SYMTAB parameter.
(lookup_symbol_static): Likewise.
(lookup_symbol_global): Likewise.
(lookup_symbol_aux_block): Likewise.
(lookup_global_symbol_from_objfile): Likewise.
* symtab.c (lookup_symbol_aux): Remove SYMTAB parameter.
(lookup_symbol_aux_local): Likewise.
(lookup_symbol_aux_block): Likewise.
(lookup_symbol_aux_symtabs): Likewise.
(lookup_symbol_aux_psymtabs): Likewise.
(lookup_global_symbol_from_objfile): Likewise.
(basic_lookup_symbol_nonlocal): Likewise.
(lookup_symbol_static): Likewise.
(lookup_symbol_global): Likewise.
(lookup_symbol_in_language): Do not pass SYMTAB to lookup_symbol_aux.
2008-05-19 15:49:14 +00:00
gdbadmin
3ea4a8cb4b
*** empty log message ***
2008-05-19 00:00:33 +00:00
gdbadmin
28f0b4384e
*** empty log message ***
2008-05-18 00:00:03 +00:00
Pedro Alves
39237dd126
* remote.c (init_extended_remote_ops): Fix typo.
2008-05-17 11:28:30 +00:00
gdbadmin
2ebf24b939
*** empty log message ***
2008-05-17 00:00:33 +00:00
Pedro Alves
7c0d47a533
* NEWS: Mention new DICOS x86 target configuration.
2008-05-16 15:54:08 +00:00
Ulrich Weigand
907fc20268
gdb/
...
2008-05-15 Pedro Alves <pedro@codesourcery.com>
Ulrich Weigand <uweigand@de.ibm.com>
* minsyms.c (lookup_minimal_symbol_by_pc_name): New function.
* symtab.h (lookup_minimal_symbol_by_pc_name): Add prototype.
* symtab.c (fixup_section): Remove prototype. Add ADDR parameter;
use it instead of ginfo->value.address. Look up minimal symbol by
address and name. Assume OBJFILE is non-NULL.
(fixup_symbol_section): Ensure we always have an objfile to look
into. Extract and pass to fixup_section the symbol's address that
will match the minimal symbol's address.
(fixup_psymbol_section): Likewise.
(find_pc_sect_psymtab): Fall back to non-addrmap case when debugging
overlays and the addrmap returned the wrong section.
* dwarf2read.c (var_decode_location): Set SYMBOL_CLASS before
calling fixup_symbol_section.
gdb/testsuite/
2008-05-15 Pedro Alves <pedro@codesourcery.com>
* gdb.base/fixsection.exp: New file.
* gdb.base/fixsection0.c: New file.
* gdb.base/fixsection1.c: New file.
2008-05-16 12:58:49 +00:00
Ulrich Weigand
42848c9656
* minsyms.c: Include "target.h".
...
(find_solib_trampoline_target): Handle minimal symbols pointing
to function descriptors as well.
* Makefile.in (minsyms.o): Update dependencies.
* ppc-linux-tdep.c (ppc64_standard_linkage): Rename to ...
(ppc64_standard_linkage1): ... this. Fix optional instructions.
(PPC64_STANDARD_LINKAGE_LEN): Rename to ...
(PPC64_STANDARD_LINKAGE1_LEN): ... this.
(ppc64_standard_linkage2, ppc64_standard_linkage3): New.
(PPC64_STANDARD_LINKAGE2_LEN, PPC64_STANDARD_LINKAGE3_LEN): New.
(ppc64_standard_linkage_target): Rename to ...
(ppc64_standard_linkage1_target): ... this.
(ppc64_standard_linkage2_target, ppc64_standard_linkage3_target): New.
(ppc64_skip_trampoline_code): Support three variants of standard
linkage stubs. Call find_solib_trampoline_target to handle
glink stubs.
2008-05-16 12:51:21 +00:00
Ulrich Weigand
74d1f0631a
* ppc-linux-tdep.c (ppc_linux_init_abi): Do not install
...
ppc64_sysv_abi_adjust_breakpoint_address.
* ppc-sysv-tdep.c (ppc64_sysv_abi_adjust_breakpoint_address): Remove.
* ppc-tdep.h (ppc64_sysv_abi_adjust_breakpoint_address): Remove.
2008-05-16 12:49:47 +00:00
Ulrich Weigand
8526f32824
* ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Remove.
...
(ppc_linux_init_abi): Install find_solib_trampoline_target instead
of ppc_linux_skip_trampoline_code.
2008-05-16 12:48:59 +00:00
Ulrich Weigand
e8f972703a
* gdb.base/annota1.exp: Accept printf@... in place of printf.
...
* gdb.base/annota3.exp: Likewise.
2008-05-16 12:48:08 +00:00
Daniel Jacobowitz
ba2b1c567f
* gdbarch.sh: Delete dwarf_reg_to_regnum.
...
* gdbarch.c, gdbarch.h: Regenerated.
* amd64-tdep.c, arm-tdep.c, h8300-tdep.c, hppa-linux-tdep.c,
hppa-tdep.c, i386-tdep.c, m32c-tdep.c, m68k-tdep.c, mips-tdep.c,
s390-tdep.c, xtensa-tdep.c: Do not set dwarf_reg_to_regnum.
* gdbint.texinfo (Target Conditionals): Delete entry for
gdbarch_dwarf_reg_to_regnum.
2008-05-16 00:27:24 +00:00
gdbadmin
33c1beb4c1
*** empty log message ***
2008-05-16 00:00:03 +00:00
Pedro Alves
4fdebdd056
* linux-nat.c (trap_ptid): Delete.
...
(linux_nat_detach, linux_nat_wait, linux_nat_mourn_inferior):
Adjust.
* linux-thread-db.c (thread_db_wait): Adjust.
2008-05-15 20:11:48 +00:00
Joel Brobecker
bc882aa937
* linespec.c (decode_line_1): Fix a couple of comments.
2008-05-15 19:24:46 +00:00
Alan Modra
83b94be541
* dbxread.c: Formatting.
...
(INTERNALIZE_SYMBOL): Init n_other.
(set_namestring): Take pointer to nlist arg rather than struct
copy. Update all callers.
2008-05-15 13:23:34 +00:00
Andreas Schwab
87669130a4
(dwarf2loc.o): Remove $(addrmap_h).
...
(dwarf2read.o): Add $(addrmap_h).
2008-05-15 09:38:40 +00:00
gdbadmin
90c4def428
*** empty log message ***
2008-05-15 00:00:33 +00:00
Ulrich Weigand
00d5f93a89
* ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Rename ...
...
(ppc64_linux_convert_from_func_ptr_addr): ... to this. No longer try
to handle ppc32 PLT entries.
(ppc_linux_init_abi): Install ppc64_linux_convert_from_func_ptr_addr
only on ppc64.
2008-05-14 18:28:59 +00:00
Daniel Jacobowitz
2eaf8d2a14
* elfread.c (elf_symtab_read): Create trampolines for @plt symbols.
...
* minsyms.c (lookup_minimal_symbol_by_pc_section_1): Renamed from
lookup_minimal_symbol_by_pc_section. Prefer trampolines if requested.
(lookup_minimal_symbol_by_pc_section): Use
lookup_minimal_symbol_by_pc_section_1.
(lookup_solib_trampoline_symbol_by_pc): Likewise.
2008-05-14 18:14:34 +00:00
Joel Brobecker
20c625669c
* findcmd.c: Add #include "gdb_stdint.h".
...
* Makefile.in (findcmd.o): Update dependencies.
2008-05-14 04:23:03 +00:00
gdbadmin
b091ad0577
*** empty log message ***
2008-05-14 00:00:33 +00:00
Nathan Froyd
ac0bb574ab
* gdb.base/watch_thread_num.exp: Don't run tests that require
...
watchpoints if the target doesn't support them.
2008-05-13 21:17:18 +00:00
gdbadmin
10148622f3
*** empty log message ***
2008-05-13 00:00:33 +00:00
Doug Evans
6fadd07a48
* lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
2008-05-12 17:25:28 +00:00
gdbadmin
e170b22b34
*** empty log message ***
2008-05-12 00:00:33 +00:00
David S. Miller
de0c3d9d6e
* sparc-linux-tdep.c (sparc32_linux_init_abi): Remove
...
long double size override, Linux does use 128-bit now.
2008-05-11 22:43:53 +00:00
David S. Miller
e8467b5ac5
* sparc-linux-tdep.c (PSR_SYSCALL): Define.
...
(sparc_linux_write_pc): New function.
(sparc32_linux_init_abi): Register it.
* sparc64-linux-tdep.c (TSTATE_SYSCALL): Define.
(sparc64_linux_write_pc): New function.
(sparc64_linux_init_abi): Register it.
2008-05-11 22:10:30 +00:00
David S. Miller
87a7da84fb
* sparc-linux-tdep.c, sparc64-linux-tdep.c: Use
...
dwarf2_append_unwinders(), not dwarf2_frame_sniffer.
2008-05-11 20:03:26 +00:00
Ulrich Weigand
8a4c2d245d
* rs6000-tdep.c (rs6000_gdbarch_init): Set up info.target_desc
...
and info.tdep_info before calling gdbarch_init_osabi.
2008-05-11 15:29:47 +00:00
gdbadmin
0c0b707645
*** empty log message ***
2008-05-11 00:00:34 +00:00
gdbadmin
be9267279a
*** empty log message ***
2008-05-10 00:00:04 +00:00
Joel Brobecker
6e9a4a305b
* gdb.ada/assign_1.exp: New testcase.
2008-05-09 23:51:40 +00:00
Joel Brobecker
003f381353
* ada-lang.c (ada_evaluate_subexp) [BINOP_ASSIGN]: Do not force
...
the type of the right hand side of the assignment to the type
of the left hand side if the left hand side is a convenience
variable.
2008-05-09 23:50:41 +00:00
Ulrich Weigand
7ae0e2a243
* NEWS: Mention gdbserver bi-arch capability.
2008-05-09 19:17:46 +00:00
Doug Evans
de90ada150
update for capitalization changes
2008-05-09 18:51:07 +00:00