Mark Kettenis
26abbdc424
* x86-64-tdep.c: Fix some formatting problems, mostly in comments.
...
(x86_64_push_return_address): Add comment.
(x86_64_pop_frame): Make static.
(examine_argument): Clarify comment.
(x86_64_skip_prologue): Make prolog_expact variable static.
2002-10-26 10:37:45 +00:00
Mark Kettenis
9f1549cccc
* dwarf2cfi.c: Fix some formatting problems.
...
(context_cpy, read_encoded_pointer): Clarify comments.
2002-10-26 10:13:53 +00:00
Mark Kettenis
ab91194c40
* x86-64-tdep.c (x86_64_breakpoint_from_pc): Constify.
...
(x86_64_init_abi): Move set_gdbarch_* calls that overlap with the
i386 target back into x86_64_gdbarch_init. Add some comments and
remove meaningless ones.
2002-10-26 09:36:34 +00:00
Andrew Cagney
72367fb45b
2002-10-25 Andrew Cagney <cagney@redhat.com>
...
* complaints.h (struct deprecated_complaint): Rename `struct
complaint'.
* complaints.c (complain): Update.
* remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Delete
incorrect comment indicating that "symfile.h" was being included
for the `struct complaint' definition.
* remote-vx.c: Update.
* objc-lang.c: Update.
* xcoffread.c: Update.
* hpread.c: Update.
* mdebugread.c: Update.
* stabsread.c: Update.
* dwarf2read.c: Update.
* dwarfread.c: Update.
* elfread.c: Update.
* coffread.c: Update.
* stabsread.h: Update.
* dbxread.c: Update.
* buildsym.c: Update.
* gdbtypes.c: Update.
* macrotab.c: Update.
2002-10-25 22:25:55 +00:00
Mark Kettenis
0c1a73d616
* x86-64-tdep.c (x86_64_gdbarch_init): Make a bit more similar to
...
the version in i386-tdep.c. Move set_gdbarch_* calls out into...
(x86_64_init_abi): ...new function.
2002-10-25 21:53:08 +00:00
Mark Kettenis
6aee4d5437
* Makefile.in (i386v-nat.o): Add $(i386_tdep_h).
2002-10-25 21:23:57 +00:00
Mark Kettenis
1f2baacc1f
* i386v-nat.c: Include "i386-tdep.h".
2002-10-25 18:50:23 +00:00
Andrew Cagney
5f11f35558
2002-10-25 Andrew Cagney <cagney@redhat.com>
...
* gdbtypes.c (address_space_name_to_int): Update.
(address_space_int_to_name): Update.
* gdbarch.sh (address_class_type_flags_to_name): Change to a pure
multi-arch predicate.
(address_class_name_to_type_flags): Ditto.
* gdbarch.h, gdbarch.c: Re-generate.
2002-10-25 15:59:56 +00:00
Andrew Cagney
8f9cbe0185
2002-10-25 Andrew Cagney <cagney@redhat.com>
...
* MAINTAINERS: Check all warnings when h8300hms and alpha-elf.
2002-10-25 14:08:44 +00:00
Martin Hunt
e8d96a5d56
2002-10-24 Martin M. Hunt <hunt@redhat.com>
...
* utils.c (string_to_core_addr): Revert patch from 11 Oct.
2002-10-24 23:46:09 +00:00
Elena Zannoni
fe39c6533d
2002-10-24 Elena Zannoni <ezannoni@redhat.com>
...
* symtab.h (INIT_SAL): Delete macro.
(init_sal): Export.
* symtab.c (init_sal): New function.
* ada-lang.c (ada_finish_decode_line_1): Change INIT_SAL macro
to init_sal function call.
(find_sal_from_funcs_and_line): Ditto.
(all_sals_for_line): Ditto.
* breakpoint.c (create_internal_breakpoint): Ditto.
(create_fork_vfork_event_catchpoint): Ditto.
(create_exec_event_catchpoint): Ditto.
(parse_breakpoint_sals): Ditto.
(watch_command_1): Ditto.
(handle_gnu_4_16_catch_command): Ditto.
(clear_command): Ditto.
* hppa-tdep.c (child_enable_exception_callback): Ditto.
* infcmd.c (run_stack_dummy): Ditto.
* infrun.c (process_event_stop_test): Ditto.
(check_sigtramp2): Ditto.
(step_over_function): Ditto.
* linespec.c (decode_line_2): Ditto.
(decode_line_1): Ditto.
* source.c (line_info): Ditto.
* symtab.c (find_pc_sect_line): Ditto.
2002-10-24 21:02:53 +00:00
Michal Ludvig
baed091b2b
2002-10-24 Michal Ludvig <mludvig@suse.cz>
...
* dwarf2cfi.c (struct context)
(struct context_reg): Moved to dwarf2cfi.h
(context_alloc, frame_state_alloc, context_cpy):
Made extern instead of static, removed prototypes.
* dwarf2cfi.h (struct context)
(struct context_reg): New, moved from dwarf2cfi.c
(context_alloc, frame_state_alloc, context_cpy):
New prototypes.
* x86-64-linux-tdep.c (x86_64_linux_sigtramp_saved_pc):
Changed from static to extern.
(LINUX_SIGINFO_SIZE, LINUX_SIGCONTEXT_PC_OFFSET)
(LINUX_SIGCONTEXT_FP_OFFSET)
(LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Adjusted.
(x86_64_linux_in_sigtramp, x86_64_linux_frame_chain)
(x86_64_init_frame_pc, x86_64_init_extra_frame_info): New.
* x86-64-tdep.c (x86_64_gdbarch_init): Several
set_gdbarch_*() calls now use x86-64 specific functions
instead of DWARF2 CFI ones.
* x86-64-tdep.h (x86_64_linux_in_sigtramp)
(x86_64_linux_frame_chain, x86_64_init_frame_pc)
(x86_64_init_extra_frame_info): New prototypes.
2002-10-24 01:27:43 +00:00
David Carlton
c38da1aff1
2002-10-23 David Carlton <carlton@math.stanford.edu>
...
* linespec.c: #include "parser-defs.h".
Delete prototype for find_template_name_end.
* Makefile.in (linespec.o): Depend on $(parser_defs_h).
2002-10-24 00:13:57 +00:00
Jeff Johnston
fb9b6b359f
2002-10-23 Jeff Johnston <jjohnstn@redhat.com>
...
* NEWS: add recent mi fixes.
* varobj.c (struct varobj): Add new "updated" flag.
(new_variable): Default "updated" flag to 0.
(varobj_set_value): Set "updated" flag to 1 if value
changes.
(varobj_update): Check varobj "updated" flag before
comparing old and refreshed values. Fix for
PR gdb/702.
2002-10-23 23:54:33 +00:00
David Carlton
8da065d53c
2002-10-23 David Carlton <carlton@math.stanford.edu>
...
* parse.c (parse_exp_1): Use BLOCK_START.
* x86-64-tdep.c (x86_64_skip_prologue): Use BLOCK_END,
SYMBOL_BLOCK_VALUE.
* objc-lang.c (find_methods): Use BLOCK_START, BLOCK_END.
2002-10-23 23:37:33 +00:00
David Carlton
87f2f08c7f
2002-10-23 David Carlton <carlton@math.stanford.edu>
...
* symtab.c: Delete cplusplus_hint.
Delete prototype for find_template_name_end.
2002-10-23 23:36:16 +00:00
Elena Zannoni
88cda038b7
2002-10-23 Elena Zannoni <ezannoni@redhat.com>
...
* symtab.h: Update comment.
2002-10-23 23:28:17 +00:00
Michael Snyder
2625d86c46
2002-10-23 Michael Snyder <msnyder@redhat.com>
...
* printcmd.c (address_info): Restore quotes in output.
* valops.c (value_of_local): Restore quotes in error message.
2002-10-23 21:33:07 +00:00
Elena Zannoni
9cc0d196fc
2002-10-23 Elena Zannoni <ezannoni@redhat.com>
...
* symtab.c (symbol_demangled_name): New function.
* symtab.h (SYMBOL_DEMANGLED_NAME): Simplify macro, by
turning most of it into a function.
(symbol_demangled_name): Export.
2002-10-23 20:09:28 +00:00
Michael Snyder
19de93d0c6
2002-10-23 Michael Snyder <msnyder@redhat.com>
...
* valops.c (value_of_local): Restore quotes in error message.
2002-10-23 19:22:28 +00:00
Elena Zannoni
89aad1f99e
2002-10-23 Elena Zannoni <ezannoni@redhat.com>
...
* symtab.c (symbol_init_language_specific): New function.
* symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): Simplify macro, by
turning most of it into a function.
(symbol_init_language_specific): Export.
2002-10-23 18:16:44 +00:00
David Carlton
d9fa45febb
2002-10-23 David Carlton <carlton@math.stanford.edu>
...
* dwarf2read.c (dwarf_tag_name): Add DWARF 3 names.
(dwarf_attr_name): Ditto.
(dwarf_type_encoding_name): Ditto.
(scan_partial_symbols): Descend into DW_TAG_namespace entries.
(process_die): Handle DW_TAG_namespace,
DW_TAG_imported_declaration, DW_TAG_imported_module.
(read_namespace): New function.
2002-10-23 16:40:55 +00:00
Joel Brobecker
1045b512db
* configure.in: Define NEW_PROC_API on Interix too.
...
* configure: Regenerate.
2002-10-22 20:21:56 +00:00
Joel Brobecker
8ec413174a
* configure: Regenerate using the proper version of autoconf.
2002-10-22 03:54:20 +00:00
Elena Zannoni
3987b9d413
2002-10-21 Elena Zannoni <ezannoni@redhat.com>
...
* findvar.c (read_var_value): Temporarily disable TLS code, until
complete TLS support is added.
2002-10-21 20:12:56 +00:00
Elena Zannoni
9d774e4455
2002-10-21 Jim Blandy <jimb@redhat.com>
...
Elena Zannoni <ezannoni@redhat.com>
* symtab.h (address_class): Re-add LOC_THREAD_LOCAL_STATIC
for thread local storage locations.
(struct symbol): Add objfile field.
(SYMBOL_OBJFILE): Define.
* dwarf2read.c (is_thread_local): New static variable.
(new_symbol): If variable is in thread local fill in address class
and objfile appropriately.
(decode_locdesc): Recognize and handle DW_OP_GNU_push_tls_address
stack operation.
* printcmd.c (address_info): Print the information for thread
local storage variable.
* findvar.c (read_var_value): In case of thread local variable,
defer to the target vector code to compute address.
2002-10-21 19:11:50 +00:00
Elena Zannoni
bc4a16aedd
2002-10-21 Elena Zannoni <ezannoni@redhat.com>
...
* solib-svr4.c (svr4_fetch_objfile_link_map): New function.
* solib-svr4.h (svr4_fetch_objfile_link_map): Export.
2002-10-21 18:42:40 +00:00
Elena Zannoni
407caf07a4
2002-10-21 Elena Zannoni <ezannoni@redhat.com>
...
* symtab.h (address_class): Rename
LOC_THREAD_LOCAL_STATIC to LOC_HP_THREAD_LOCAL_STATIC.
* hpread.c (hpread_process_one_debug_symbol): Ditto.
* printcmd.c (address_info): Ditto.
* findvar.c (symbol_read_needs_frame, read_var_value): Ditto.
2002-10-21 14:55:18 +00:00
Mark Kettenis
afdb036ab6
* i386bsd-nat.c (i386bsd_dr_set, i386bsd_dr_get_status): Use
...
DBREG_DRX macro to acces debug registers.
2002-10-20 21:18:59 +00:00
Mark Kettenis
ca02e098c5
* Makefile.in (i386obsd-tdep.o): New target.
2002-10-20 20:27:19 +00:00
Mark Kettenis
03cc47f70c
* solib-sunos.c: Include "bcache.h" and "regcache.h".
...
* Makefile.in (solib-sunos.o): Add $(bcache_h) and $(regcache_h).
2002-10-20 14:38:26 +00:00
Mark Kettenis
005328e342
* configure.tgt (i[3456]86-*-openbsd*): Set gdb_target to obds.
...
* config/i386/obsd.mt: New file.
* i386bsd-nat.c (_initialize_i386bsd_nat): Introduce
i386obsd_sc_pc_offset and i386obsd_sc_sp_offset;
* i386obsd-nat.c (_initialize_i386obsd_nat): Set
i386obsd_sigtramp_start and i386obsd_sigtramp_end instead of
i386nbsd_sigtramp_start and i386nbsd_sigtramp_end.
* i386obsd-tdep.c: New file.
2002-10-20 11:54:40 +00:00
Adam Fedor
9c96f9f287
(name_not_typename): Fix invalid comment.
2002-10-20 01:38:40 +00:00
Mark Kettenis
ce1ed4854e
* solib-sunos.c (allocate_rt_common_objfile): Use bcache_xmalloc
...
to allocate partial syms and macro byte caches.
2002-10-19 23:05:27 +00:00
David Carlton
1efc7aaaba
2002-10-18 David Carlton <carlton@math.stanford.edu>
...
* symtab.h: Delete 'struct source' and 'struct sourcevector'.
(Also, I fixed up a date reference for an earlier ChangeLog entry of
mine; sorry about that.)
2002-10-18 23:47:53 +00:00
Adam Fedor
7e1d63ec94
stabsread.c (find_name_end): New function.
...
(define_symbol): Use it.
2002-10-18 22:49:42 +00:00
Daniel Jacobowitz
6e8d29a92c
* config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
...
* config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Define to 1.
* config/alpha/nm-nbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
* config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Define to 1.
2002-10-18 19:34:39 +00:00
David Carlton
63ca651f75
2002-10-09 David Carlton <carlton@math.stanford.edu>
...
* symfile.h: Add opaque declaration for struct obstack.
Declare obsavestring to take a const char *.
* symfile.c (obsavestring): Make first argument a const char *.
2002-10-17 21:16:12 +00:00
Adam Fedor
1aeae86e76
(parse_breakpoint_sals): Ignore ObjC method
...
names when matching breakpoints in current file.
2002-10-16 23:25:32 +00:00
Kevin Buettner
8b2dbe47f3
Address class support.
2002-10-16 20:50:22 +00:00
Klee Dienes
74451869f4
2002-10-16 Klee Dienes <kdienes@apple.com>
...
* stabsread.c (read_tilde_fields): Use name[sizeof(vptr_name)-2]
to get the last character of a char[] buffer, not
name[sizeof(vptr_name)-1].
2002-10-16 17:36:44 +00:00
Adam Fedor
ff4cb3e841
New objc_specific struct.
...
(SYMBOL_INIT_LANGUAGE_SPECIFIC): Handle ObjC.
(SYMBOL_DEMANGLED_NAME): Likewise.
2002-10-15 02:50:56 +00:00
Adam Fedor
da2cf7e093
(init_filename_language_table): Add ObjC file extension.
2002-10-15 02:42:32 +00:00
Adam Fedor
4a351cef15
utils.c (puts_filtered_tabular): New function.
...
(fprintf_symbol_filtered): Get ObjC demangled name.
defs.h (puts_filtered_tabular): Declared.
2002-10-15 02:16:51 +00:00
Kevin Buettner
9750e763c1
* c-lang.h (c_type_print_varspec_prefix): Delete.
...
* c-typeprint.c (c_type_print_varspec_prefix): Make static. Add
``need_post_space'' parameter. Adjust all callers.
2002-10-14 22:58:28 +00:00
Daniel Jacobowitz
eee771c194
* config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Define to 1.
...
* config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
* config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
* config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
2002-10-14 20:46:59 +00:00
Adam Fedor
46c82446e1
source.c (print_source_lines): Update comments.
2002-10-14 02:12:04 +00:00
Adam Fedor
d069f99d46
valops.c (value_of_local): New function.
...
(value_of_this): Use it.
value.h (value_of_local): Declared.
2002-10-14 02:02:42 +00:00
Adam Fedor
53c551b7ca
parse.c: (length_of_subexp, prefixify_subexp): Handle
...
OP_MSGCALL, OP_SELECTOR, OP_NSSTRING, and OP_SELF.
2002-10-14 01:50:44 +00:00
Adam Fedor
eb392fbf33
language.c (binop_result_type): Add language_objc to case.
...
(integral_type): Likewise.
(character_type): Likewise.
(string_type): Likewise.
(boolean_type): Likewise.
(structured_type): Likewise.
(binop_type_check): Likewise.
2002-10-12 16:03:30 +00:00