Elena Zannoni
6afa27b08c
2002-11-04 Elena Zannoni <ezannoni@redhat.com>
...
* mi-console.exp: Use mi_runto, mi_run_to_main, mi_next_to,
mi_step_to wherever possible. Update copyright notices.
* mi-disassemble.exp: Ditto.
* mi-eval.exp: Ditto.
* mi-read-memory.exp: Ditto.
* mi-regs.exp: Ditto.
* mi-return.exp: Ditto.
* mi-stack.exp: Ditto.
* mi-stepi.exp: Ditto.
* mi-var-block.exp: Ditto.
* mi-var-cmd.exp: Ditto.
* mi-watch.exp: Ditto.
* mi1-console.exp: Ditto.
* mi1-disassemble.exp: Ditto.
* mi1-eval.exp: Ditto.
* mi1-read-memory.exp: Ditto.
* mi1-regs.exp: Ditto.
* mi1-return.exp: Ditto.
* mi1-stack.exp: Ditto.
* mi1-stepi.exp: Ditto.
* mi1-var-block.exp: Ditto.
* mi1-var-cmd.exp: Ditto.
* mi1-watch.exp: Ditto.
2002-11-05 15:43:18 +00:00
Klee Dienes
69266111ec
Correct the ChangeLog entry for 2002-10-11 from:
...
* findvar.c (read_memory_typed_address): New function.
to
* corefile.c (read_memory_typed_address): New function.
2002-11-05 09:20:13 +00:00
Pierre Muller
cc303028fc
2002-10-07 Pierre Muller <muller@ics.u-strasbg.fr>
...
* values.c (value_change_enclosing_type): Set
enclosing_type field correctly also for the case where
more memory needs to be allocated.
2002-11-05 08:25:13 +00:00
gdbadmin
226acd2e46
*** empty log message ***
2002-11-05 00:00:02 +00:00
gdbadmin
299b302755
*** empty log message ***
2002-11-04 00:00:03 +00:00
Mark Kettenis
f16a25aee9
* i387-tdep.c (i387_print_float_info): Call fputs_filtered instead
...
of puts_filtered.
2002-11-03 13:04:47 +00:00
Mark Kettenis
1d70089aec
* i387-tdep.c (i387_print_float_info): Replace calls to
...
register_read and deprecated_read_register_gen with calls to
frame_register_read, and make the necessary adjustments to the
surrounding code.
2002-11-03 12:32:42 +00:00
Andrew Cagney
7e20f3fbea
2002-11-02 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (register_reggroup_p): Allow default value.
* gdbarch.h, gdbarch.c: Regenerate.
2002-11-03 00:30:33 +00:00
gdbadmin
f9712b716c
*** empty log message ***
2002-11-03 00:00:02 +00:00
Andrew Cagney
192dbe3389
2002-11-02 Andrew Cagney <ac131313@redhat.com>
...
* regcache.h: Add coment indicating replacements for deprecated
functions.
2002-11-02 20:06:56 +00:00
Andrew Cagney
b59ff9d5ff
2002-11-02 Andrew Cagney <cagney@redhat.com>
...
* reggroups.h, reggroups.c: New files.
* regcache.c: Include "reggroups.h".
(enum regcache_dump_what): Add `regcache_dump_groups'.
(regcache_dump): Contract size of the "Type" column. When
specified, dump the register's groups.
(maintenance_print_register_groups): New function.
(_initialize_regcache): Add command `maint print register-groups'.
* Makefile.in (COMMON_OBS): Add reggroups.o
(SFILES): Add reggroups.c.
(reggroups_h): Define.
(regcache.o, gdbarch.o): Update dependencies.
(reggroups.o): Specify dependencies.
* gdbarch.sh (register_reggroup_p): Add pure multi-arch method.
Add opaque declaration for `struct reggroup' in generated .h file.
Include "reggroups.h" in generated .c file.
gdbarch.h, gdbarch.c: Re-generate.
2002-11-02 15:13:34 +00:00
Andrew Cagney
4caf0990c1
2002-11-02 Andrew Cagney <cagney@redhat.com>
...
* regcache.h (deprecated_read_register_gen): Rename
read_register_gen.
(deprecated_write_register_gen): Rename write_register_gen.
* i387-tdep.c: Update.
* x86-64-linux-nat.c: Update
* wince.c: Update.
* thread-db.c: Update.
* win32-nat.c: Update.
* mips-tdep.c: Update.
* d10v-tdep.c: Update.
* cris-tdep.c: Update.
* remote-sim.c: Update.
* remote-rdi.c: Update.
* remote-rdp.c: Update.
* frame.c: Update.
* target.c: Update.
* blockframe.c: Update.
* x86-64-tdep.c: Update.
* xstormy16-tdep.c: Update.
* sh-tdep.c: Update.
* s390-tdep.c: Update.
* rs6000-tdep.c: Update.
* sparc-tdep.c: Update.
* i386-tdep.c: Update.
* dwarf2cfi.c: Update.
* regcache.c: Update.
2002-11-02 14:59:10 +00:00
gdbadmin
8f104e6b1f
*** empty log message ***
2002-11-02 00:00:02 +00:00
Joel Brobecker
7a7adcdf1d
New interix-specific files:
...
* config/i386/nm-interix.h: New file.
* config/i386/interix.mh: New file.
* config/i386/interix.mt: New file.
* i386-interix-nat.c: New file.
* i386-interix-tdep.c: New file.
2002-11-01 22:08:44 +00:00
Andrew Cagney
bdcdd53569
2002-11-01 Andrew Cagney <cagney@redhat.com>
...
* frame.h (deprecated_generic_get_saved_register): Rename
generic_get_saved_register.
* blockframe.c (deprecated_generic_get_saved_register): Update.
* xstormy16-tdep.c (xstormy16_get_saved_register): Update.
(xstormy16_frame_saved_register): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_get_saved_register): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* config/m32r/tm-m32r.h (GET_SAVED_REGISTER): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
2002-11-01 21:21:49 +00:00
gdbadmin
36b3ec1e7f
*** empty log message ***
2002-11-01 00:00:03 +00:00
Daniel Jacobowitz
2a4b7c459e
* lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.
2002-10-31 21:00:08 +00:00
Daniel Jacobowitz
ef17e74bbb
* i386-linux-tdep.c (i386_linux_pc_in_sigtramp): Check for
...
trampolines in sigaction.
2002-10-31 20:51:15 +00:00
Andrew Cagney
4904ba5b9a
2002-10-31 Andrew Cagney <cagney@redhat.com>
...
* h8300-tdep.c: Include "gdb_assert.h".
(h8300_print_register): Add gdbarch, file and frame parameters.
Use frame_read_unsigned_register to read the register's value.
Use fprintf_filtered to display output.
(h8300_print_registers_info): Replace h8300_do_registers_info.
(h8300_gdbarch_init): Set print_registers_info.
2002-10-31 20:22:45 +00:00
Andrew Cagney
f908a0eb77
2002-10-31 Andrew Cagney <cagney@redhat.com>
...
* frame.c (frame_read_unsigned_register): New function.
(frame_read_signed_register): New function.
* frame.h (frame_read_unsigned_register): Declare.
(frame_read_signed_register): Declare.
2002-10-31 20:14:33 +00:00
Andrew Cagney
c5646e1120
2002-10-31 Andrew Cagney <cagney@redhat.com>
...
* h8500-tdep.c (h8500_print_registers_info): New static function,
clone of infcmd.c's default_print_registers_info.
(h8500_do_registers_info): New funtion.
(h8500_print_register_hook): Rename print_register_hook, make
static.
* config/h8500/tm-h8500.h: Update copyright.
(DEPRECATED_DO_REGISTERS_INFO): Define.
(h8500_do_registers_info: Declare.
(PRINT_REGISTER_HOOK): Delete macro.
(print_register_hook): Delete function.
2002-10-31 19:49:34 +00:00
Andrew Cagney
0bdd672b8c
2002-10-31 Andrew Cagney <cagney@redhat.com>
...
* z8k-tdep.c (z8k_print_register_hook): Make static.
(z8k_print_registers_info): New static function, clone of
infcmd.c's default_print_registers_info.
(z8k_do_registers_info): New function. Wrap
z8k_print_registers_info.
* config/z8k/tm-z8k.h: Update copyright.
(PRINT_REGISTER_HOOK): Delete macro.
(z8k_print_register_hook): Delete declaration.
(DEPRECATED_DO_REGISTERS_INFO): Define.
(z8k_do_registers_info): Declare.
2002-10-31 19:14:07 +00:00
gdbadmin
0727d3d1f0
*** empty log message ***
2002-10-31 00:00:02 +00:00
Joel Brobecker
bf9c25dc04
* hppa-tdep.c (find_function_in_inferior): Remove this extern,
...
as this is already provided by value.h, and was actually causing
a compilation error because of a conflict in parameter type
declaration due to a missing const keyword.
(low_text_segment_addres): Fix a compilation warning.
2002-10-30 20:42:54 +00:00
Daniel Jacobowitz
2c665b51d2
* mips-linux-nat.c (mips_linux_cannot_fetch_register): Don't fetch
...
registers without a name.
(mips_linux_cannot_store_register): Don't store registers without
a name.
2002-10-30 04:10:06 +00:00
gdbadmin
8ffbbda408
*** empty log message ***
2002-10-30 00:00:34 +00:00
gdbadmin
c92cfda37b
*** empty log message ***
2002-10-29 00:00:15 +00:00
David Carlton
e70ea697bd
2002-10-28 David Carlton <carlton@math.stanford.edu>
...
* symtab.c (find_addr_symbol): Delete. (It was already commented
out.)
* symtab.h: Delete prototype for find_addr_symbol.
2002-10-28 17:05:56 +00:00
gdbadmin
018d7ae331
*** empty log message ***
2002-10-28 00:00:33 +00:00
gdbadmin
89feeecabc
*** empty log message ***
2002-10-27 00:00:02 +00:00
Andrew Cagney
903ad3a6ad
2002-10-26 Andrew Cagney <cagney@redhat.com>
...
* gdbint.texinfo (Target Architecture Definition): Delete
definition of DO_REGISTERS_INFO.
2002-10-26 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_DO_REGISTERS_INFO): Rename
DO_REGISTERS_INFO.
gdbarch.h, gdbarch.c: Re-generate.
* infcmd.c (default_print_registers_info): Update reference.
* mips-tdep.c (mips_gdbarch_init): Set deprecated_do_registers_info.
(mips_dump_tdep): Do not print DO_REGISTERS_INFO.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
2002-10-26 17:19:28 +00:00
Mark Kettenis
e3033f1585
* x86-64-tdep.c (x86_64_init_abi): Set init_extra_frame_info to
...
cfi_init_extra_frame_info.
* x86-64-tdep.h (x86_64_init_extra_frame_info): Remove prototype.
* x86-64-linux-tdep.c (x86_64_init_extra_frame_info): Remove function.
2002-10-26 17:04:37 +00:00
Mark Kettenis
b83b026cdc
* x86-64-tdep.c (x86_64_init_abi): Add calls to override the i386
...
target where necessary. Add more comments and remove the ones
that don't provide any useful information.
2002-10-26 16:56:34 +00:00
Mark Kettenis
267bf4bb32
* i386-tdep.c (i386_frame_saved_pc): Replace call to
...
deprecated_read_register_dummy with
frame_unwind_unsigned_register.
2002-10-26 14:58:42 +00:00
Mark Kettenis
751f1375d6
* i386-tdep.c (i386_extract_struct_value_address): Use
...
regcache_raw_read_unsigned instead of
regcache_cooked_read_unsigned since we know that the register
we're reading isn't a pseudo register. Rename variable 'val' into
the more descriptive 'addr'.
2002-10-26 14:41:37 +00:00
Stephane Carrez
57266a339f
* tuiIO.c (tui_prep_terminal): Save the prompt registered in readline.
...
(tui_redisplay_readline): Use the last saved prompt.
(tui_rl_saved_prompt): New.
2002-10-26 10:38:57 +00:00
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
gdbadmin
582a671da0
*** empty log message ***
2002-10-26 00:00:02 +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
Stephane Carrez
17aae57035
Fix PR gdb/787
...
* tuiWin.c (ACS_LRCORNER, ACS_LLCORNER, ACS_ULCORNER, ACS_URCORNER,
ACS_HLINE, ACS_VLINE): Define if they don't exist.
2002-10-25 19:46:04 +00:00
Stephane Carrez
0f59c96ffc
Fix PR gdb/478
...
* tuiIO.c (tui_initialize_io): Use setvbuf since this is portable.
2002-10-25 19:24:01 +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
gdbadmin
d257524c51
*** empty log message ***
2002-10-25 00:00:02 +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
b64bbf8c48
Reindented.
2002-10-24 01:37:40 +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
gdbadmin
1796d04a7c
*** empty log message ***
2002-10-24 00:00:02 +00:00
Jeff Johnston
7b8e064773
2002-10-23 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-var-cmd.exp: Add tests to verify that a -var-assign that changes
a value shows up in the changelist of a -var-update. Part of fix
for gdb/702.
* mi1-var-cmd.exp: Ditto.
2002-10-23 23:57:28 +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
Jeff Johnston
6ad4a2cfb3
2002-10-23 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-cmd-var.c: Change all remaining occurrences of ui_out_tuple_begin
to make_cleanup_ui_out_tuple_begin_end. Change all remaining
occurrences of ui_out_list_begin to make_cleanup_ui_out_list_begin_end. Use do_cleanups instead of ui_out_list_end or ui_out_tuple_end. This
is a fix for PR gdb/680.
* mi-cmd-stack.c: Ditto.
* mi-main.c: Ditto.
2002-10-23 21:17:51 +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
Daniel Jacobowitz
322b3f65ca
* gdb.threads/schedlock.c (args): Make unsigned.
2002-10-23 03:22:56 +00:00
gdbadmin
fa6ae5ffb4
*** empty log message ***
2002-10-23 00:00:06 +00:00
Joel Brobecker
1045b512db
* configure.in: Define NEW_PROC_API on Interix too.
...
* configure: Regenerate.
2002-10-22 20:21:56 +00:00
Keith Seitz
99615eb88f
* mi-main.c (mi_cmd_thread_select): Only return MI_CMD_CAUGHT_ERROR
...
when we really did catch an error(). If we got GDB_RC_FAIL, return
MI_CMD_ERROR instead.
2002-10-22 17:53:42 +00:00
Joel Brobecker
8ec413174a
* configure: Regenerate using the proper version of autoconf.
2002-10-22 03:54:20 +00:00
Daniel Jacobowitz
8b1d7e37a4
* gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
...
numbers. Allow "foo2|selected stack frame".
* gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
* gdb.asm/asmsrc2.s: Likewise.
* gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
comments.
* gdb.asm/mips.inc: New file.
2002-10-22 01:43:37 +00:00
gdbadmin
d1c1eb3f72
*** empty log message ***
2002-10-22 00:00:02 +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
550633cbb1
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:53:38 +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
gdbadmin
b0b05254fc
*** empty log message ***
2002-10-21 00:00:33 +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
David O'Brien
05e17ccd8e
2002-10-19 David O'Brien <obrien@FreeBSD.org>
...
* configure.tgt (alpha*-*-freebsd*, i[3456]86-*-freebsd*,
sparc64-*-freebsd*): Combine to make *-*-freebsd* with gdb_target set
to fbsd. Removes need for additional freebsd tupples.
2002-10-20 05:37:33 +00:00
Adam Fedor
9c96f9f287
(name_not_typename): Fix invalid comment.
2002-10-20 01:38:40 +00:00
gdbadmin
1343a4e4c4
*** empty log message ***
2002-10-20 00:00:32 +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
gdbadmin
a311d50c16
*** empty log message ***
2002-10-19 00:00:34 +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
Adam Fedor
5e2fe5b8f8
gdb.base/default.exp: Update expected output to include 'ObjC'.
...
gdb.base/help.exp: Likewise.
2002-10-18 18:54:55 +00:00
Kevin Buettner
f2abfe65b6
* gdbint.texinfo (Address Classes): Fix problems with insertion
...
of ``{'' and ``}'' in example.
2002-10-18 18:50:43 +00:00
gdbadmin
8ba91e1718
*** empty log message ***
2002-10-18 00:00:04 +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
Kevin Buettner
abe1a5d0ef
* gdb.base/constvars.c (struct crass, struct crisp): New structs.
...
* gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2002-10-17 20:22:58 +00:00
Kevin Buettner
b5b0480a10
Address Class documentation.
2002-10-17 18:33:36 +00:00
gdbadmin
1cb4e68cb8
*** empty log message ***
2002-10-17 00:00:32 +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
gdbadmin
0addf23c25
*** empty log message ***
2002-10-16 00:00:02 +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
gdbadmin
e5df0b1fcb
*** empty log message ***
2002-10-15 00:00:03 +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
gdbadmin
f9072f4138
*** empty log message ***
2002-10-14 00:01:02 +00:00
gdbadmin
98db497e71
*** empty log message ***
2002-10-13 00:00:33 +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
Adam Fedor
e2b23ee922
printcmd.c (address_info): Print 'self' for ObjC.
2002-10-12 03:06:01 +00:00
Adam Fedor
b01ab485c7
expression.h: New ops OP_NSSTRING, OP_SELECTOR, OP_MSGCALL, and OP_SELF.
2002-10-12 02:43:48 +00:00
Adam Fedor
806e607347
language.h (CAST_IS_CONVERSION): Add language_objc.
2002-10-12 02:39:12 +00:00
Adam Fedor
50f85cdfcf
defs.h (enum language): Add language_objc.
2002-10-12 02:28:22 +00:00
Klee Dienes
0d540cdfe7
2002-10-11 Klee Dienes <kdienes@apple.com>
...
* findvar.c (read_memory_typed_address): New function.
* gdbcore.h (read_memory_typed_address): Add prototype.
* blockframe.c (sigtramp_saved_pc): Use read_memory_typed_address
to read a value destined for a CORE_ADDR, not read_memory_integer.
* f-valprint.c (f77_get_dynamic_upperbound): Ditto.
(f77_get_dynamic_lowerbound): Ditto.
2002-10-12 01:48:17 +00:00
gdbadmin
6fc1847b56
*** empty log message ***
2002-10-12 00:00:02 +00:00
Martin Hunt
d5dc79609d
2002-10-11 Martin M. Hunt <hunt@redhat.com>
...
* utils.c (string_to_core_addr): After turning string into
a number, convert to a CORE_ADDR using INTEGER_TO_ADDRESS
which will do necessary sign-extension, etc.
2002-10-11 17:50:10 +00:00
Klee Dienes
c85508ee3c
2002-10-11 Klee Dienes <kdienes@apple.com>
...
* gdb.texinfo (Registers): Mention vector registers as well as
floating registers in the documentation for 'info registers' and
'info all-registers'.
2002-10-11 16:13:15 +00:00
Daniel Jacobowitz
8343f86c90
* c-exp.y (THIS): Delete token and grammar rule.
...
(yylex): Don't return THIS.
* cp-valprint.c (vtbl_ptr_name_old): Delete.
(cp_is_vtbl_ptr_type): Don't check vtbl_ptr_name_old.
* demangle.c (cplus_markers): Update comment. Put '$'
first. Remove CPLUS_MARKER.
(_initialize_demangler): Don't call set_cplus_marker_for_demangling.
* jv-exp.y (THIS): Delete token and grammar rule.
(yylex): Don't return THIS.
* mips-tdep.c (mips_dump_tdep): Don't dump CPLUS_MARKER.
* objc-exp.y (THIS): Delete token and grammar rule.
(yylex): Don't return THIS.
* p-exp.y (yylex): Remove reference to CPLUS_MARKER.
* stabsread.c (vptr_name, vb_name): Replace CPLUS_MARKER with '$'.
(read_member_functions): Likewise for opname.
(read_tilde_fields): Use is_cplus_marker.
* defs.h (CPLUS_MARKER): Don't define.
* config/tm-sysv4.h (CPLUS_MARKER): Likewise.
* config/i386/xm-i386sco.h (CPLUS_MARKER): Likewise.
* config/mips/tm-irix3.h (CPLUS_MARKER): Likewise.
* config/mips/tm-irix6.h (CPLUS_MARKER): Likewise.
* config/rs6000/tm-rs6000.h (CPLUS_MARKER): Likewise.
* config/i386/tm-i386v4.h: Delete file.
* config/djgpp/fnchange.lst: Delete tm-i386v4.h.
* config/i386/tm-i386sol2.h: Include "i386/tm-i386.h" instead.
* config/i386/tm-i386v42mp.h: Include "i386/tm-i386.h" instead.
* config/i386/tm-ptx.h: Include "i386/tm-i386.h" instead.
* config/i386/i386gnu.mt (TM_FILE): Use tm-i386.h.
* config/i386/i386sco5.mt (TM_FILE): Likewise.
* config/i386/i386v4.mt (TM_FILE): Likewise.
* config/i386/ncr3000.mt (TM_FILE): Likewise.
2002-10-11 14:02:39 +00:00
Daniel Jacobowitz
6d12fc3d08
* gdbint.texinfo (CPLUS_MARKER): Remove item.
2002-10-11 14:01:04 +00:00
gdbadmin
cf4e23066f
*** empty log message ***
2002-10-11 00:00:02 +00:00
Marko Mlinar
967c0d836c
Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C
2002-10-10 07:41:37 +00:00
gdbadmin
6bfb5a1c9d
*** empty log message ***
2002-10-10 00:00:32 +00:00
Marko Mlinar
f74fa174bf
Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C
2002-10-09 11:59:54 +00:00
Jim Blandy
57349743d5
2002-10-08 Petr Sorfa <petrs@caldera.com>
...
Revised and re-submitted by John Wolfe <jlw@caldera.com>
Move the Dwarf 2 abbrev table to a per-compilation-unit structure,
so we can work on more than one compilation unit at a time. This
helps prepare GDB to handle inter-CU die references.
* dwarf2read.c (ABBREV_HASH_SIZE): moved definition forward in
the code to be defined before struct comp_unit_head.
(comp_unit_head): Added new members - offset, cu_head,
begin_die, next and dwarf2_abbrevs.
(dwarf2_abbrevs): Removed single static var; now member of
struct comp_unit_head.
dwarf2_build_psymtabs_hard): Complete new struct comp_unit_head
members.
(psymtab_to_symtab_1): Changed to work with the new
struct comp_unit_head.
(dwarf2_read_abbrevs): Now accepts a cu_header parameter and
constructs the dwarf2_abbrevs[] inside the cu_header.
(dwarf2_empty_abbrev_table): Now expects a ptr to a
dwarf2_abbrev table to clean up.
(dwarf2_lookup_abbrev): Now accepts a cu_header parameter and
handling of dwarf2_abbrevs inside the cu_header.
(read_partial_die): Now supports the call to the new
dwarf2_lookup_abbrev.
(read_full_die): Now supports the call to the new
dwarf2_lookup_abbrev.
2002-10-09 04:43:49 +00:00
gdbadmin
3820f9c969
*** empty log message ***
2002-10-09 00:00:02 +00:00
gdbadmin
d8ac458a38
*** empty log message ***
2002-10-08 00:00:32 +00:00
gdbadmin
33d77d9173
*** empty log message ***
2002-10-07 00:00:32 +00:00
Christopher Faylor
4092aadbf4
* Makefile.in (install-gdbtk): Add missing continuation backslash to insure
...
that shell variables, such as "transformed_name" are propagated to later shell
statements in rule.
2002-10-06 19:53:52 +00:00
Mark Kettenis
af0b251250
* config/i386/nm-i386sco.h: Add protection against
...
multiple-inclusion. Include "i386/nm-i386v.h".
(REGISTER_U_ADDR): Remove define.
(i386_register_u_addr): Remove prototype.
2002-10-06 18:37:13 +00:00
gdbadmin
cace1e4b25
*** empty log message ***
2002-10-06 00:00:32 +00:00
gdbadmin
bda09c6aa5
*** empty log message ***
2002-10-05 00:00:31 +00:00
Michael Snyder
d6020d455d
2002-10-04 Michael Snyder <msnyder@redhat.com>
...
* m32r-stub.c (handle_exception): Make sure exception is "trap"
before treating it as a single-step event.
2002-10-04 22:17:36 +00:00
Adam Fedor
7248f48e57
2002-10-03 Adam Fedor <fedor@gnu.org>
...
* objc-lang.c: ARI fixes. Change string.h to gdb_string.h.
(objc_demangle): Remove assignment in if statements, Replace
free with xfree.
(add_msglist): Likewise.
(end_msglist): Likewise.
(complare_selectors): Likewise.
(selectors_info): Likewise.
(compare_classes): Likewise.
(classes_info): Likewise.
(print_object_command): Likewise.
(find_objc_msgcall_submethod): Replace PTR with void *.
* objc-lang.h: Remove check for __STDC__.
2002-10-04 01:18:48 +00:00
gdbadmin
62823d4d45
*** empty log message ***
2002-10-04 00:00:32 +00:00
Jeff Johnston
52c6a6ac2d
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* ui-out.h (ui_out_field_fmt_int): New prototype.
* ui-out.c (ui_out_field_fmt_int): New function allowing specification
of field width and alignment.
* stack.c (print_frame_info_base): When printing frame level, use
ui_out_field_fmt_int with a width of 2 and left alignment. Fix for
PR gdb/192
2002-10-03 22:34:58 +00:00
Jeff Johnston
c18008c5d8
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-return.exp: Change expected frame output to remove extraneous
space in level field when frame level is single digit. Part of
fix for PR gdb/192.
* mi-stack.exp: Ditto.
* mi1-return.exp: Ditto.
* mi1-stack.exp: Ditto.
2002-10-03 22:33:15 +00:00
Jeff Johnston
9f2aab2d0a
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* gdbmi.texinfo: Fix examples that show frames to remove
extraneous blank in level field. Part of fix for PR gdb/192.
2002-10-03 22:31:31 +00:00
Jeff Johnston
8d19fbd261
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* gdbint.texinfo (Item Output Functions): Add new ui_out_field_fmt_int
interface definition.
2002-10-03 22:30:01 +00:00
Jeff Johnston
7e3cec1774
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* MAINTAINERS: Add self to Write After Approval list.
2002-10-03 20:23:56 +00:00
Jeff Johnston
93cae4bfd9
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-var-block.exp: Change expected output from -var-update
command to expect list format for "changelist". Fix for
PR gdb/672.
* mi-var-cmd.exp: Ditto.
* mi-var-child: Ditto.
2002-10-03 20:03:55 +00:00
Jeff Johnston
3a387118eb
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-cmd-var.c (mi_cmd_var_update): Fix for PR gdb/672. For m2,
output list begin and end for "changelist" rather than tuple begin/end.
(varobj_update_one): For m2, add tuple begin and end for varobj
update output.
2002-10-03 20:02:13 +00:00
Marko Mlinar
a37295f900
add target specific commands; add myself to contributors list
2002-10-03 05:56:40 +00:00
Elena Zannoni
a58dd3735c
2002-10-02 Elena Zannoni <ezannoni@redhat.com>
...
* infcmd.c (interrupt_target_command_wrapper): Delete.
(interrupt_target_command): Make non static.
(nofp_registers_info): Make static.
* stack.c (return_command_wrapper): Delete.
(return_command): Make non static.
2002-10-03 02:34:07 +00:00
Elena Zannoni
cee6ddebfc
2002-10-02 Elena Zannoni <ezannoni@redhat.com>
...
* event-top.c (gdb_setup_readline): New function. Code moved from
_initialize_event_loop().
(_initialize_event_loop): Call gdb_setup_readline().
2002-10-03 01:23:50 +00:00
gdbadmin
6f6573ce7e
*** empty log message ***
2002-10-03 00:00:32 +00:00
Andrew Cagney
c4ed33b99b
2002-10-02 Andrew Cagney <ac131313@redhat.com>
...
* infrun.c (resume): Convert #ifdef CANNOT_STEP_BREAKPOINT into C.
* gdbarch.sh (CANNOT_STEP_BREAKPOINT): Add.
* gdbarch.h, gdbarch.c: Re-generate.
2002-10-02 23:28:54 +00:00
Daniel Jacobowitz
cef4f5dd72
Fix PR gdb/778
...
* gdbtypes.c (fill_in_vptr_fieldno): Call check_typedef
before recursing.
* gnu-v3-abi.c (gnuv3_virtual_fn_field): Check return value
of fill_in_vptr_fieldno.
2002-10-02 22:01:53 +00:00
Jim Blandy
10abb1d48f
* gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2002-10-02 21:46:56 +00:00
Elena Zannoni
36dc181bba
2002-10-02 Elena Zannoni <ezannoni@redhat.com>
...
* inferior.h (registers_info, stepi_command, nexti_command,
continue_command, interrupt_target_command): Export from infcmd.c.
* frame.h (args_info, selected_frame_level_changed_hook,
return_command): Export from stack.c.
* v850ice.c (stepi_command, nexti_command, continue_command): use
prototypes from inferior.h.
* tracepoint.c (registers_info, args_info, locals_info): Use
prototypes from frame.h and inferior.h.
* Makefile.in (mi-main.o): Add dependency on frame.h.
2002-10-02 Elena Zannoni <ezannoni@redhat.com>
* mi-main.c (mi_cmd_exec_return): Don't use
return_command_wrapper, use return_command instead.
(mi_cmd_exec_interrupt): Don't use
interrupt_target_command_wrapper, use interrupt_target_command
instead.
(return_command_wrapper, interrupt_target_command_wrapper):
Delete.
Include frame.h.
2002-10-02 Elena Zannoni <ezannoni@redhat.com>
* tui-hooks.c (selected_frame_level_changed_hook): Use the one
exported from frame.h.
2002-10-02 21:33:59 +00:00
Andrew Cagney
da3eff4919
2002-10-02 Andrew Cagney <ac131313@redhat.com>
...
* rs6000-tdep.c (rs6000_store_struct_return): Store struct_return
value in register 3 adjusted by ppc_gp0_regnum.
2002-10-02 21:21:47 +00:00
Andrew Cagney
6f99cb26f2
2002-10-02 Andrew Cagney <ac131313@redhat.com>
...
* rs6000-tdep.c (skip_prologue): Bias alloca_reg by ppc_gp0_regnum.
2002-10-02 21:18:57 +00:00
Marko Mlinar
da615bee0d
add myself to the Write After Approval list.
2002-10-02 06:06:06 +00:00
Alexandre Oliva
62a49b2cf4
* mips-tdep.c (mips_find_abi_section): .mdebug.abi64 is the name
...
of the section for the N64 ABI, fixed.
2002-10-02 01:28:55 +00:00
Alexandre Oliva
d154bee237
* config/mips/tm-irix6.h: Include solib.h.
2002-10-02 01:27:59 +00:00
gdbadmin
389e69e944
*** empty log message ***
2002-10-02 00:00:13 +00:00
Elena Zannoni
ed348accac
2002-10-01 Elena Zannoni <ezannoni@redhat.com>
...
* dwarf2read.c (dwarf_stack_op_name): Recognize more dwarf3 and
GNU operators.
2002-10-01 23:51:43 +00:00
Andrew Cagney
da0f9dcdbe
2002-10-01 Andrew Cagney <ac131313@redhat.com>
...
* NEWS: Mention that MI syntax, selected by "mi" changed to "mi2"
and that "mi0" syntax has been removed.
2002-10-01 Andrew Cagney <ac131313@redhat.com>
* gdb.texinfo (Mode Options): Update --interpreter option. "mi2"
and "mi1" instead of "mi1" and "mi0".
2002-10-01 Andrew Cagney <ac131313@redhat.com>
* mi-main.c (mi2_command_loop): New function.
(mi0_command_loop): Delete function.
(_initialize_mi_main): Recognize, and default to, "mi2". Do not
recognize "mi0".
* mi-out.c (mi_table_begin): Remove mi0 code.
(mi_table_body, mi_table_end): Ditto.
(mi_table_header, mi_open, mi_close): Ditto.
2002-10-01 21:15:43 +00:00
David Carlton
bdf64bacd5
2002-09-30 David Carlton <carlton@math.stanford.edu>
...
* Makefile.in (ppc-sysv-tdep.o): Depend on gdb_string_h.
* ppc-sysv-tdep.c: #include "gdb_string.h".
* remote-sds.c (getmessage): Add semicolon after 'retry' label to
pacify GCC.
2002-10-01 19:26:05 +00:00
Andrew Cagney
1f609b42e3
2002-10-01 Andrew Cagney <ac131313@redhat.com>
...
* mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
* mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
* mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
* mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
* mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
* mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
* mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2002-10-01 16:01:37 +00:00
Andrew Cagney
54c2a1e693
2002-10-01 Andrew Cagney <ac131313@redhat.com>
...
* rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix
"vrsave"'s register number.
2002-10-01 14:57:55 +00:00
Andrew Cagney
cedea778f2
2002-09-30 Andrew Cagney <ac131313@redhat.com>
...
* mips-tdep.c (mips_frame_saved_pc): When a generic dummy frame,
use frame_unwind_signed_register to obtain the PC.
(mips_frame_chain): Handle a generic dummy frame.
(mips_init_extra_frame_info): When a generic dummy frame, don't
re-compute the frame base.
(mips_pop_frame): Handle generic dummy frames.
(mips_gdbarch_init): When generic dummy frames, set
use_generic_dummy_frames, push_dummy_frame to
generic_push_dummy_frame, pc_in_call_dummy to
generic_pc_in_call_dummy, and save_dummy_frame_top_of_stack to
generic_save_dummy_frame_tos.
2002-10-01 01:30:10 +00:00
Andrew Cagney
68315eb83a
2002-09-30 Andrew Cagney <ac131313@redhat.com>
...
* blockframe.c (generic_find_dummy_frame): Rewrite. Only test
against TOP when TOP was explictly set.
(generic_push_dummy_frame): Set TOP to zero.
2002-10-01 01:24:01 +00:00
gdbadmin
ccc8590d3a
*** empty log message ***
2002-10-01 00:00:32 +00:00
Elena Zannoni
3b8630c3eb
2002-09-30 Elena Zannoni <ezannoni@redhat.com>
...
* event-loop.c (start_event_loop): Rename variable 'result' to
'gdb_result', to avoid conflicts with upcoming intepreters changes.
2002-09-30 21:25:47 +00:00
Andrew Cagney
c7ec4050c5
2002-09-29 Andrew Cagney <ac131313@redhat.com>
...
* mi-out.c (mi_version): New function.
* mi-out.h (mi_version): Declare.
2002-09-30 20:18:52 +00:00
Keith Seitz
28ee05e924
* gdb-events.sh (selected_thread_changed): New event.
...
* gdb-events.c: Regenerated.
* gdb-events.h: Regenerated.
2002-09-30 20:06:53 +00:00
Hans-Peter Nilsson
6eecb1c8dd
* MAINTAINERS: Add self to Write After Approval list.
2002-09-30 16:05:31 +00:00
Fernando Nasser
92df71f044
* disasm.c: New file.
...
* disasm.h: New file.
* mi/mi-cmd-disas.c (gdb_dis_asm_read_memory): Moved to disasm.c.
(compare_lines): Ditto.
(dump_insns): Ditto.
(do_mixed_source_and_assembly): Moved to disasm.c. Added uiout argument. (do_assembly_only): Ditto.
(do_disassembly): Renamed to gdb_disassembly and moved to disasm.c.
Sdded uiout argument.
* Makefile.in: Add new files. Reorder SFILES list. Update dependencies. Include libgdb.a later in the insight executable.
2002-09-30 15:57:26 +00:00
Hans-Peter Nilsson
2e834e497e
* gdb.texinfo (Packets): Fix typos "alligned".
...
Correct z3/Z3 description. Correct z4/Z4 title.
2002-09-30 07:08:26 +00:00
Elena Zannoni
52575520c3
2002-09-29 Elena Zannoni <ezannoni@redhat.com>
...
* tui.c (tui_show_source): Don't access current_source_symtab, use
accessor function instead. Include source.h and symtab.h
* tuiDisassem.c (tuiShowDisassemAndUpdateSource,
tuiVerticalDisassemScroll): Use accessor functions for current
source line and symtab. Include source.h.
* tuiLayout.c (_extractDisplayStartAddr): Use accessor functions
for current source line and symtab. Include source.h.
* tuiWin.c (_makeVisibleWithNewHeight): Ditto.
* tuiSourceWin.c (tuiUpdateSourceWindowAsIs,
tuiHorizontalSourceScroll): Ditto.
* tuiSource.c (tuiVerticalSourceScroll): Ditto.
2002-09-30 00:52:27 +00:00
gdbadmin
9c0c5ef93b
*** empty log message ***
2002-09-30 00:00:03 +00:00
Andrew Cagney
0c22854d5e
2002-09-29 Andrew Cagney <ac131313@redhat.com>
...
* config/djgpp/fnchange.lst: Rename bfd/elf64-alpha.c and
bfd/elf64-alpha-fbsd.c.
2002-09-29 16:32:15 +00:00
Andrew Cagney
e67f202312
2002-09-29 Andrew Cagney <ac131313@redhat.com>
...
* config/djgpp/fnchange.lst: Rename i386gnu-nat.c and
i386gnu-tdep.c.
2002-09-29 16:20:21 +00:00
Andrew Cagney
8939621045
Zap __FUNCTION__.
2002-09-29 15:25:30 +00:00
Andrew Cagney
0aee02e418
Delete no-longer-needed tests.
2002-09-29 14:20:32 +00:00
gdbadmin
dacefbdd41
*** empty log message ***
2002-09-29 00:00:32 +00:00
Corinna Vinschen
7079c36ccc
* sh-tdep.c (sh_use_struct_convention): Use definition according to ABI.
...
(sh_push_arguments): Store in register with correct endianess.
(sh_default_store_return_value): Ditto.
(sh_gdbarch_init): Set sizeof long double to 8.
2002-09-28 16:11:29 +00:00
Kevin Buettner
6fde09ad29
* gdb.base/annota1.exp (info break): Make directory components of
...
path optional since not all compilers emit this debug information.
* gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
step ends up stepping out of the function instead of stopping on
the epilogue.
2002-09-28 01:12:04 +00:00
gdbadmin
613d38b830
*** empty log message ***
2002-09-28 00:00:32 +00:00
Mark Kettenis
167baebf18
Last ChangeLog entry for defs.h is for both this patch and the previous patch.
2002-09-27 22:08:51 +00:00
Mark Kettenis
975ac915d6
* defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".
...
Fix some whitespace problems.
2002-09-27 21:31:22 +00:00
David Carlton
9bbe19fb37
2002-09-27 David Carlton <carlton@math.stanford.edu>
...
* Makefile.in (cris-tdep.o): Depend on gdb_string_h.
(mcore-tdep.o): Ditto.
(ns32k-tdep.o): Ditto.
(ns32knbsd-tdep.o): Ditto.
(sh3-rom.o): Ditto.
(vax-tdep.o): Ditto.
* cris-tdep.c: #include "gdb_string.h"
* mcore-tdep.c: Ditto.
* ns32k-tdep.c: Ditto.
* ns32knbsd-tdep.c: Ditto.
* sh3-rom.c: Ditto.
* vax-tdep.c: Ditto.
2002-09-27 19:33:48 +00:00
David Carlton
43b2fdc74c
2002-09-27 David Carlton <carlton@math.stanford.edu>
...
* config/djgpp/fnchange.lst: Add entries for
gdb/testsuite/gdb.c++/m-static files.
2002-09-27 19:20:53 +00:00
Jim Wilson
e8cfbbd913
* MAINTAINERS: Add myself to the Write After Approval list.
2002-09-27 18:58:04 +00:00
Jim Wilson
57514745d6
Add myself to write-after-approval section with Andrew Cagney's permission.
2002-09-27 18:55:44 +00:00
Andrew Cagney
7501537f4e
2002-07-12 Mo DeJong <supermo@bayarea.net>
...
* gdbmi.texinfo (var-evaluate-expression): Note that
var-list-children must be invoked before child variable
values can be evaluated.
2002-09-27 18:09:27 +00:00
Andrew Cagney
050be0dcbe
Use @sc{gcc} and @sc{gdb}.
2002-09-27 17:56:37 +00:00
Keith Seitz
9e8aab7587
* lib/insight-support.exp (gdbtk_start): Figure out where
...
the insight executable is based on where gdb is. Use this
executable to start insight instead of gdb.
2002-09-27 14:49:26 +00:00
Martin Hunt
4e0df2df38
2002-09-26Martin M. Hunt <hunt@redhat.com>
...
* mips-tdep.c (find_proc_desc): Initialize startaddr.
2002-09-27 00:49:01 +00:00
gdbadmin
54726db0b4
*** empty log message ***
2002-09-27 00:00:02 +00:00
Andrew Cagney
9f3b7f0716
2002-09-26 Andrew Cagney <ac131313@redhat.com>
...
* rs6000-tdep.c (rs6000_frame_chain): Don't chain past the dummy
frame.
2002-09-26 22:34:07 +00:00
Andrew Cagney
11269d7ebb
2002-09-26 Andrew Cagney <ac131313@redhat.com>
...
* rs6000-tdep.c (rs6000_extract_struct_value_address): Return 0.
(rs6000_struct_return_address): Delete variable.
(rs6000_store_struct_return): Update.
(rs6000_gdbarch_init): Set extract_struct_value_address instead of
deprecated_extract_struct_value_address.
(rs6000_frame_align): New function.
(rs6000_gdbarch_init): Set frame_align.
2002-09-26 22:29:09 +00:00
Elena Zannoni
b72b33ef9b
2002-09-26 Elena Zannoni <ezannoni@redhat.com>
...
* mi-cmd-disas.c (dump_insns): Add text only output for CLI.
(do_mixed_source_and_assembly): Ditto.
2002-09-26 18:35:21 +00:00
Andrew Cagney
f15ab4a7d1
2002-09-26 Andrew Cagney <ac131313@redhat.com>
...
From Grace Sainsbury <graces@redhat.com>:
* Makefile.in (gdbtk-main.o): New target.
(gdb.o): New target.
(main_h): Define.
(main.o): Update dependencies.
(gdb$(EXEEXT)): Add gdb.o.
(SUBDIR_GDBTK_SRCS): Add gdbtk-main.c.
(SUBDIR_GDBTK_ALL, SUBDIR_GDBTK_UNINSTALL): Set.
(SUBDIR_GDBTK_CLEAN): Set.
(install-gdbtk): Install the insight binary.
(uninstall-gdbtk): New target.
(all-gdbtk, clean-gdbtk): New rule.
* top.c (use_windows): Default to zero.
* main.c: Include "main.h".
(main): Delete.
(struct captured_main_args): Delete.
(gdb_main): New function.
* main.h: New file.
* gdb.c: New File.
2002-09-26 Andrew Cagney <ac131313@redhat.com>
From Grace Sainsbury <graces@redhat.com>:
* generic/gdbtk-main.c: New file.
2002-09-26 17:46:04 +00:00
gdbadmin
291288b78a
*** empty log message ***
2002-09-26 00:00:02 +00:00
Kevin Buettner
1104b9e790
* gdb.texinfo: Use GNU/Linux instead of Linux.
2002-09-25 22:55:30 +00:00
Andrew Cagney
e36180d795
2002-09-25 Andrew Cagney <cagney@redhat.com>
...
* frame.c: Include "gdb_string.h" and "builtin-regs.h".
(frame_map_regnum_to_name): New function.
(frame_map_name_to_regnum): New function.
* frame.h (frame_map_name_to_regnum): Declare.
(frame_map_regnum_to_name): Declare.
* builtin-regs.c (builtin_reg_map_regnum_to_name): New function.
* builtin-regs.h (builtin_reg_map_regnum_to_name): Declare.
* parse.c: Do not include "builtin-regs.h".
(target_map_name_to_register): Delete function.
(write_dollar_variable): Use frame_map_name_to_regnum.
* parser-defs.h (target_map_name_to_register): Delete declaration.
* expprint.c: Include "frame.h".
(print_subexp): Use frame_map_regnum_to_name.
* eval.c (evaluate_subexp_standard): Use frame_map_regnum_to_name.
* infcmd.c (registers_info): Use frame_map_name_to_regnum.
2002-09-25 Andrew Cagney <cagney@redhat.com>
* gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2002-09-25 20:30:38 +00:00
Keith Seitz
1154261b1f
* mi-pthreads.exp (get_mi_thread_list): Check if expect_out
...
exists before using it.
(check_mi_and_console_threads): Likewise.
* gdb669.exp (get_mi_thread_list): Likewise.
(check_mi_and_console_threads): Likewise.
2002-09-25 16:08:43 +00:00
Andrew Cagney
512217c7cc
2002-09-25 Andrew Cagney <ac131313@redhat.com>
...
* gdb.texinfo (Packets): Replace @samp{} with ``an empty string''.
2002-09-25 13:56:54 +00:00
Andrew Cagney
8b69000d63
2002-09-25 Andrew Cagney <ac131313@redhat.com>
...
* rs6000-tdep.c (rs6000_frame_saved_pc): If the link register
wasn't saved, and the next innermost frame is a dummy, return the
dummy frame's link register.
2002-09-25 13:34:53 +00:00
Jim Blandy
046ca86a76
Fix from Paul Breed:
...
* main.c (captured_main): Add a `break' after the case for 'b'.
2002-09-25 03:10:26 +00:00
gdbadmin
20c2fc380d
*** empty log message ***
2002-09-25 00:00:32 +00:00
Keith Seitz
d1a2f20434
* configure.in: Add config header.
...
Check for pthread.h.
* configure: Regenerate.
* config.in: New file.
* pthreads.c: New file.
* mi-pthreads.exp: New file to test thread functionality.
* gdb669.exp: New file.
2002-09-24 19:36:06 +00:00
Keith Seitz
94b66fa77d
* varobj.c (c_type_of_child): Use get_target_type instead
...
of TYPE_TARGET_TYPE.
2002-09-24 18:50:34 +00:00
Andrew Cagney
9dd34b2bcf
2002-09-24 Andrew Cagney <ac131313@redhat.com>
...
* gdb.gdb/complaints.exp (test_initial_complaints): Rename
test_isolated_complaints.
(test_empty_complaint): New function.
(test_empty_complaints): New function. Check no output when no
complaints.
2002-09-24 16:07:42 +00:00
Andrew Cagney
109987229e
2002-09-24 Andrew Cagney <ac131313@redhat.com>
...
* gdb.texinfo: Replace @example' with @smallexample.
2002-09-24 14:30:36 +00:00
gdbadmin
fed372c71e
*** empty log message ***
2002-09-24 00:00:03 +00:00
gdbadmin
5e08c13d72
*** empty log message ***
2002-09-23 00:00:32 +00:00
Fernando Nasser
53cb0458d6
* source.c (get_current_or_default_source_symtab_and_line): Remove
...
function.
(set_default_source_symtab_and_line): New function. Attempts to
determine a source file to list lines from if one is not currently
defined.
(get_current_source_symtab_and_line): Initialize sal.pc and
sal.end fields.
(set_current_source_symtab_and_line): Mark argument as const.
* source.h: Update declarations and comments.
* linespec.c (decode_line_1): Replace call to removed routine above.
* stack.c (print_frame_info_base): Ditto.
* cli/cli-cmds.c (edit_command): Ditto.
(list_command): Ditto.
2002-09-22 22:18:41 +00:00
Fernando Nasser
c214a6fd4d
* source.c (get_current_source_symtab_and_line): Initialize sal.pc and
...
sal.end fields.
(get_current_or_default_source_symtab_and_line): Ditto.
* breakpoint.c (parse_breakpoint_sals): Use correct accessor function
so we do not cause a new source symtab to be searched for (reverting an
unintentional change from the 2002-09-20 patch).
* scm-lang.c (scm_unpac): Ditto.
2002-09-22 20:29:52 +00:00
gdbadmin
15c18c7dbf
*** empty log message ***
2002-09-22 00:00:02 +00:00
Andrew Cagney
cc3b68a5c7
2002-09-21 Andrew Cagney <cagney@redhat.com>
...
* complaints.c (symfile_explanations): Remove new-line from
``isolated_message''.
(vcomplaint): When ISOLATED_MESSAGE, force a line break.
(clear_complaints): When a SUBSEQUENT_MESSAGE, force a line break.
2002-09-21 16:36:33 +00:00
Nick Clifton
5835abe726
NEWS: Announce that V850EA ISA is no longer supported.
...
v850-tdep.c: Remove reference to bfd_mach_v850ea.
2002-09-21 11:55:17 +00:00
Kevin Buettner
a0eb71c570
2002-09-20 Kevin Buettner <kevinb@redhat.com>
...
From Eli Zaretskii <eliz@is.elta.co.il>:
* gdb.texinfo (Character Sets): Use @smallexample instead of
@example. Use GNU/Linux instead of Linux.
2002-09-20 Jim Blandy <jimb@redhat.com>
* gdb.texinfo: Add character set documentation.
2002-09-21 00:29:04 +00:00
gdbadmin
0a97f9c47f
*** empty log message ***
2002-09-21 00:00:03 +00:00
David Carlton
06ba1b39d7
2002-09-20 David Carlton <carlton@math.stanford.edu>
...
* Makefile.in (c-lang.o): Correct dependencies.
(utils.o): Gather dependencies.
(charset.o): Move.
2002-09-20 18:14:49 +00:00
David Carlton
a15ef5f5e3
2002-09-20 David Carlton <carlton@math.stanford.edu>
...
* c-lang.c: #include "gdb_string.h"
2002-09-20 17:37:11 +00:00
Fernando Nasser
878854263f
From 2002-07-02 George Helffrich <george@gly.bris.ac.uk>
...
* cli/cli-cmds.c (list_command): New function. Implements the new
cli edit command.
(_init_cli_cmds): Add new command definition.
* gdb.1: Document edit command.
* doc/gdb.texinfo: Document edit command.
2002-09-20 15:07:15 +00:00
Fernando Nasser
0378c33231
* source.c: Make global variables current_source_symtab and
...
current_source_line static.
(list_command): Moved to cli/cli-cmds.c.
(ambiguous_line_spec): Moved to cli/cli-cmds.c.
(get_first_line_listed): New accessor function.
(get_lines_to_list): New accessor function.
(get_current_source_symtab_and_line): New function. Retrieves the
position in the source code that we consider current.
(get_current_or_default_source_symtab_and_line): New function.
Like the above but attempts to determine a default position if one
is not currently defined.
(set_current_source_symtab_and_line): New function. Sets the source
code position considered current and returns the previously set one.
(clear_current_source_symtab_and_line): Reset stored information about
a current source line.
(_initialize_source): Remove registration for the "list" command and
its alias.
* source.h: Add declarations for the new functions above.
* symtab.h: Remove declarations for the global variables mentioned
above.
* breakpoint.c (parse_breakpoint_sals): Use accessor functions to
obtain current source line.
* linespec.c (decode_line_1): Ditto.
* macroscope.c (default_macro_scope): Ditto.
* scm-lang.c (scm_unpac): Ditto.
* stack.c (print_frame_info_base): Ditto.
* symfile.c (clear_symtab_users): Ditto.
* symtab.c (decode_line_spec): Ditto.
* cli/cli-cmds.c (list_command): Moved here from source.c.
(ambiguous_line_spec): Moved here from source.c.
(_init_cli_cmds): Add definition for "list" and its alias.
* Makefile.in: Update dependencies.
2002-09-20 14:58:59 +00:00
Corinna Vinschen
ddd216eaca
* h8300-tdep.c (h8300_examine_prologue): Match saved regs location
...
with what gcc thinks is correct.
2002-09-20 14:22:44 +00:00
Corinna Vinschen
6d30505267
* h8300-tdep.c (h8300_examine_prologue): Fix loop for saved regs in
...
multiple register push instruction.
2002-09-20 12:08:37 +00:00
Kevin Buettner
dea9781227
Add new tests for charset support.
2002-09-20 00:26:06 +00:00
Kevin Buettner
234b45d446
Add support for distinct host and target character sets.
2002-09-20 00:24:01 +00:00
gdbadmin
caced3dadb
*** empty log message ***
2002-09-20 00:00:02 +00:00
Andrew Cagney
2f870471d4
2002-09-19 Andrew Cagney <ac131313@redhat.com>
...
* gdb.texinfo (Packets): Revise `z' and `Z' packet documentation.
(Packets): Add cross reference from `b' packet to `z' packets.
2002-09-19 23:09:30 +00:00
Andrew Cagney
8d30a00d37
2002-09-19 Andrew Cagney <ac131313@redhat.com>
...
* gdb.texinfo (Maintenance Commands): Document ``maint
internal-error'' and ``maint internal-warning''.
2002-09-19 15:51:25 +00:00
Andrew Cagney
790eb8f5c4
2002-09-19 Andrew Cagney <ac131313@redhat.com>
...
* gdbint.texinfo (Target Architecture Definition): Revise
description of STACK_ALIGN. Add description of FRAME_ALIGN.
2002-09-19 15:43:49 +00:00
Andrew Cagney
54951bd7b5
2002-09-19 Andrew Cagney <ac131313@redhat.com>
...
* gdb.gdb/complaints.exp: New file.
2002-09-19 15:22:47 +00:00
Joel Brobecker
525d6a611f
* ada-exp.y: Add missing semicolons to end rules. Fixes a
...
bison 1.35 warning.
2002-09-19 13:59:26 +00:00
Joel Brobecker
a23a7bf1bb
* gdbint.texinfo (Target Conditionals): Document the new
...
NAME_OF_MALLOC macro.
2002-09-19 13:14:46 +00:00
Richard Earnshaw
036243d826
Add missing ".
2002-09-19 10:21:53 +00:00
Richard Earnshaw
3ed93867e8
* gdb_mbuild.sh: New file.
2002-09-19 10:11:41 +00:00
Andrew Cagney
5fb2031a06
Credit Apple and AdamF for their part in the objective C patches.
2002-09-19 04:26:26 +00:00
Andrew Cagney
437666f82f
Fix (C) and credit Michael Snyder with objc-lang.c.
2002-09-19 04:12:10 +00:00
Andrew Cagney
389e51db10
Revert previous change. Not obvious.
2002-09-19 03:58:41 +00:00
Michael Snyder
3b4efeaa2d
2002-09-18 Michael Snyder <msnyder@redhat.com>
...
Preliminary support for Objective-C:
* defs.h (language_objc): New enum value.
(puts_filtered_tabular): Declaration only, exported from utils.c.
(skip_quoted): Delete, declared in completer.h.
* c-exp.y: Include completer.h.
* p-exp.y: Ditto.
* jv-exp.y: Ditto.
* expression.h (OP_MSGCALL, OP_SELECTOR, OP_SELF, OP_NSSTRING):
New operator enum values.
* language.h (CAST_IS_CONVERSION): Test for language_objc.
* language.c (binop_result_type): Handle language_objc case.
(integral_type, character_type, string_type, boolean_type,
structured_type, binop_type_check): Ditto.
* symtab.h (SYMBOL_OBJC_DEMANGLED_NAME): Define.
(struct objc_specific): Add to general_symbol_info.
(SYMBOL_INIT_LANGUAGE_SPECIFIC): Add objc initialization.
(SYMBOL_DEMANGLED_NAME): Handle objc case.
* parser-defs.h (struct objc_class_str): New struct type.
(start_msglist, end_msglist, add_msglist): Declaration only,
exported from objc-lang.c.
* value.h (value_of_local, value_nsstring,
call_function_by_hand_expecting_type): Exported from valops.c.
* valops.c (find_function_addr): Export.
(call_function_by_hand_expecting_type): New function.
(value_of_local): New function.
* symfile.c (init_filename_language_table): Add ".m" extension
for Objective-C.
* utils.c (puts_filtered_tabular): New function.
(fprintf_symbol_filtered): Add objc demangling support (disabled).
(set/show demangle): Extend help-string to refer to ObjC.
* elfread.c (elf_symtab_read): Skip Objective-C special symbols.
* stabsread.c (symbol_reference_defined): Objective-C symbols
may contain colons: make allowances when scanning stabs strings
for colons.
(objc_find_colon): New function.
* printcmd.c (address_info): If language == objc then print
"self" instead of "this".
* parse.c (length_of_subexp): Handle new operators OP_MSGCALL,
OP_NSSTRING, and OP_SELF.
(prefixify_subexp): Ditto.
* source.c (print_source_lines): Mention objc in comment.
* breakpoint.c (parse_breakpoint_sals): Recognize Objective-C
method names.
2002-09-19 01:34:51 +00:00
Andrew Cagney
b9caf5053f
2002-09-18 Andrew Cagney <ac131313@redhat.com>
...
* complaints.h: Update copyright.
(struct complaints): Declare.
(struct complaint): Make `message' constant.
(internal_complaint): Declare.
(complaint): Declare.
(complaint_root): Delete declaration.
(symfile_complaints): Delete declaration.
(struct complaints): Add opaque declaration.
(clear_complaints): Add a complaints parameter.
* complaints.c: Update copyright.
(enum complaint_series): Define.
(complaint_root): Delete.
(struct complaints): Define.
(complaint_sentinel, symfile_complaint_book): New variables.
(symfile_explanations, symfile_complaints): New variables.
New variables.
(get_complaints): New function.
(vcomplaint): New function.
(complaint): New function.
(internal_complaint): New function.
(complain): Call vcomplain with symfile_complaint.
(clear_complaints): Rewrite.
(_initialize_complaints): Use add_setshow_command.
* Makefile.in (complaints.o): Update dependencies.
* symfile.c (syms_from_objfile): Add symfile_complaints parameter
to call to clear_complaints.
(new_symfile_objfile, reread_symbols): Ditto.
(oldsyms_complaint): Delete.
(empty_symtab_complaint, unknown_option_complaint): Delete.
(free_named_symtabs): Use complaint instead of complain.
2002-09-19 00:42:41 +00:00
Michael Snyder
d2e6263c4a
2002-09-18 Michael Snyder <msnyder@redhat.com>
...
* objc-lang.c: First clean-up round: comments, indentation.
* objc-lang.h: Ditto.
* objc-lang.y: Ditto.
2002-09-19 00:39:38 +00:00
gdbadmin
d38fa3bd75
*** empty log message ***
2002-09-19 00:00:32 +00:00
Andrew Cagney
dec43320d9
2002-09-18 Andrew Cagney <ac131313@redhat.com>
...
* maint.c (maintenance_internal_error): Print the parameter as the
error message.
(maintenance_internal_warning): New function.
(_initialize_maint_cmds): Add command `maint internal-warning'.
* defs.h (internal_warning, internal_vwarning): Declare.
* utils.c (struct internal_problem): Define.
(internal_vproblem): New function.
(internal_warning): New function.
(internal_vwarning): New function.
(internal_warning_problem, internal_error_problem): New variables.
(internal_verror): Just call internal_vproblem.
Index: testsuite/ChangeLog
2002-09-18 Andrew Cagney <ac131313@redhat.com>
* gdb.base/maint.exp: Check `help maint internal-warning'.
2002-09-18 23:53:52 +00:00
Michael Snyder
b81654f1c0
2002-09-18 Michael Snyder <msnyder@redhat.com>
...
* objc-lang.c: New file, support for Objective-C.
Preliminary check-in, not yet integrated into gdb.
* objc-lang.h: New file.
* objc-exp.y: New file.
2002-09-18 23:29:20 +00:00
Andrew Cagney
7bda5e4ae2
2002-09-18 Andrew Cagney <ac131313@redhat.com>
...
* infrun.c (signal_stop_update): Convert definition to ISO C.
(signal_print_update): Ditto.
(signal_pass_update): Ditto.
* inflow.c (terminal_save_ours): Ditto.
2002-09-18 22:44:31 +00:00
Andrew Cagney
5247b4187f
2002-09-18 Andrew Cagney <ac131313@redhat.com>
...
* h8300-tdep.c (h8300_gdbarch_init): Use C instead of C++
comments.
2002-09-18 22:17:41 +00:00
Andrew Cagney
fc60962c86
2002-09-18 Andrew Cagney <ac131313@redhat.com>
...
* config/djgpp/fnchange.lst: Handle name clashes between
bfd/coff-tic30.c, bfd/coff-tic4x.c, bfd/coff-tic54x.c and
bfd/coff-tic80.c.
2002-09-18 22:09:21 +00:00
Andrew Cagney
0542c38179
Fix GNU/Linux tipo.
2002-09-18 22:00:22 +00:00