]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
22 years agoThis commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.
nobody [Wed, 30 Jul 2003 04:14:39 +0000 (04:14 +0000)] 
This commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.

Cherrypick from master 2003-07-30 04:14:38 UTC Andrew Cagney <cagney@redhat.com> '2003-07-28  Andrew Cagney  <cagney@redhat.com>':
    gdb/doc/annotate.texinfo

22 years ago*** empty log message ***
gdbadmin [Wed, 30 Jul 2003 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago2003-07-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 29 Jul 2003 03:18:46 +0000 (03:18 +0000)] 
2003-07-28  Andrew Cagney  <cagney@redhat.com>

* annotate.c (annotate_breakpoints_headers): Restrict annotation
to level 2.
(annotate_breakpoints_table, annotate_record): Ditto.
(annotate_breakpoints_table_end, annotate_field_begin): Ditto.
(annotate_field_name_end, annotate_field_value): Ditto.
(annotate_field_end, annotate_frame_source_begin): Ditto.
(annotate_frame_source_file, annotate_frame_source_file_end): Ditto.
(annotate_frame_source_line, annotate_frame_source_end): Ditto.
(annotate_frame_begin, annotate_frame_function_name): Ditto.
(annotate_frame_address_end, annotate_frame_address): Ditto.
(annotate_frame_args, annotate_frame_end): Ditto.
(annotate_frame_where, annotate_arg_begin): Ditto.
(annotate_arg_name_end, annotate_arg_value): Ditto.
(annotate_arg_end, annotate_signal_handler_caller): Ditto.
(annotate_function_call, annotate_signal_name): Ditto.
(annotate_signal_string, annotate_signal_name_end): Ditto.
(annotate_signal_string_end, annotate_value_history_begin): Ditto.
(annotate_value_begin, annotate_value_history_value): Ditto.
(annotate_value_history_end, annotate_value_end): Ditto.
(annotate_display_begin, annotate_display_number_end): Ditto.
(annotate_display_format, annotate_display_expression): Ditto.
(annotate_display_expression_end, annotate_display_value): Ditto.
(annotate_display_end, annotate_array_section_begin): Ditto.
(annotate_elt_rep, annotate_elt_rep_end): Ditto.
(annotate_elt, annotate_array_section_end): Ditto.

22 years ago*** empty log message ***
gdbadmin [Tue, 29 Jul 2003 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago2003-07-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 28 Jul 2003 15:34:02 +0000 (15:34 +0000)] 
2003-07-28  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (print_gp_register_row): Print the GPR's register
MOD NUM_REGS.

22 years ago * thread.c (info_threads_command): Use get_selected_frame ().
Daniel Jacobowitz [Mon, 28 Jul 2003 13:02:41 +0000 (13:02 +0000)] 
* thread.c (info_threads_command): Use get_selected_frame ().
Check that there is at least one non-sentinel frame.

22 years ago * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
Daniel Jacobowitz [Mon, 28 Jul 2003 00:58:47 +0000 (00:58 +0000)] 
* gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
pattern.

22 years ago*** empty log message ***
gdbadmin [Mon, 28 Jul 2003 00:00:01 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago * m68hc11-tdep.c (struct frame_extra_info): Remove.
Stephane Carrez [Sun, 27 Jul 2003 21:40:50 +0000 (21:40 +0000)] 
* m68hc11-tdep.c (struct frame_extra_info): Remove.
(m68hc11_pop_frame): Remove.
(m68hc11_frame_saved_pc): Remove.
(m68hc11_frame_chain): Remove.
(m68hc11_frame_init_saved_regs): Remove.
(m68hc11_init_extra_frame_info): Remove.
(m68hc11_store_struct_return): Remove.
(m68hc11_saved_pc_after_call): Remove.
(m68hc11_call_dummy_address): Remove.

22 years ago * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold
Stephane Carrez [Sun, 27 Jul 2003 21:26:00 +0000 (21:26 +0000)] 
* m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold
frame unwind information.
(m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue
and adapted for frame unwinding.
(m68hc11_skip_prologue): Update to scan prologue in temporary object.
(m68hc11_unwind_pc): New function.
(m68hc11_frame_unwind_cache): New function to analyze frames.
(m68hc11_frame_this_id): New function to create new frame struct.
(m68hc11_frame_prev_register): New function to unwind a register from
the frame.
(m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder.
(m68hc11_frame_p): New function for the above.
(m68hc11_frame_base_address): New function to return fp of frame.
(m68hc11_frame_args_address): Update for frame.
(m68hc11_frame_base): Default 68hc11/68hc12 frame.
(m68hc11_unwind_sp): New function.
(m68hc11_unwind_dummy_id): New function.
(m68hc11_gdbarch_init): Install the above frames; remove deprecated
calls.

22 years ago2003-07-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 27 Jul 2003 21:14:37 +0000 (21:14 +0000)] 
2003-07-27  Andrew Cagney  <cagney@redhat.com>

* gdb.base/fileio.exp: Use SH when running commands using
remote_exec.

22 years ago * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc.
Stephane Carrez [Sun, 27 Jul 2003 20:54:38 +0000 (20:54 +0000)] 
* m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc.
(m68hc11_guess_from_prologue): Advance the pc and frame size only
when we are beyond the current pc.

22 years ago * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted
Stephane Carrez [Sun, 27 Jul 2003 20:28:09 +0000 (20:28 +0000)] 
* m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted
from m68hc11_push_arguments.
(m68hc11_push_arguments): Remove.
(m68hc11_push_return_address): Remove.
(m68hc11_gdbarch_init): Install the above; remove above deprecated
handlers; remove deprecated_extra_stack_alignment_needed.

22 years ago2003-07-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 27 Jul 2003 17:19:58 +0000 (17:19 +0000)] 
2003-07-27  Andrew Cagney  <cagney@redhat.com>

Sync HP/UX with mainline:
* config/pa/tm-hppa.h (init_frame_pc_default): Declare.
* infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update
REAL_PC and not the pointer.
* hppa-hpux-tdep.c: Include frame.h
* config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to
GDB_MULTI_ACH_PARTIAL.
* config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use
get_frame_base.
(FRAME_BASE_BEFORE_SIGTRAMP): Ditto.
(FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto.
(struct value): Add opaque declaration.
(DEPRECATED_FRAME_ARGS_ADDRESS): Delete.
* config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro.
(REGISTER_NAME): Define.
(hppa64_register_name): Declare.
* config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro.
* hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name.
(hppa64_register_name): New function.
(hppa_register_name): New function.

22 years ago*** empty log message ***
gdbadmin [Sun, 27 Jul 2003 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago2003-07-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 26 Jul 2003 22:57:56 +0000 (22:57 +0000)] 
2003-07-26  Andrew Cagney  <cagney@redhat.com>

* m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated
store_return_value and extract_struct_value_address.

22 years ago * gdb.texinfo (TUI Keys): Document C-x o key to switch active window.
Stephane Carrez [Sat, 26 Jul 2003 07:40:14 +0000 (07:40 +0000)] 
* gdb.texinfo (TUI Keys): Document C-x o key to switch active window.

22 years ago*** empty log message ***
gdbadmin [Sat, 26 Jul 2003 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
gdbadmin [Fri, 25 Jul 2003 00:00:31 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago * tui.c (tui_rl_other_window): New function to switch the TUI active
Stephane Carrez [Thu, 24 Jul 2003 20:27:00 +0000 (20:27 +0000)] 
* tui.c (tui_rl_other_window): New function to switch the TUI active
window and give focus to a next window.
(tui_initialize_readline): Bind it to c-x o.
(tui_rl_next_keymap): Activate TUI mode when entering SingleKey mode.

22 years ago * NEWS: Mention "regs" deprecated for m68hc11 too.
Stephane Carrez [Thu, 24 Jul 2003 20:02:34 +0000 (20:02 +0000)] 
* NEWS: Mention "regs" deprecated for m68hc11 too.

* m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command.
(m68hc11_print_register): New function to print out one register.
(m68hc11_print_registers_info): New function to print registers.
(show_regs): Deprecate and use the above.
(m68hc11_gdbarch_init): Install the print_registers_info.

22 years ago * linux-arm-low.c (arm_reinsert_addr): New function.
Daniel Jacobowitz [Thu, 24 Jul 2003 19:04:21 +0000 (19:04 +0000)] 
* linux-arm-low.c (arm_reinsert_addr): New function.
(the_low_target): Add arm_reinsert_addr.

22 years ago*** empty log message ***
gdbadmin [Thu, 24 Jul 2003 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago * tui.c (tui_enable): Call tuiRefreshAll to make sure the window
Stephane Carrez [Wed, 23 Jul 2003 21:41:22 +0000 (21:41 +0000)] 
* tui.c (tui_enable): Call tuiRefreshAll to make sure the window
is accurate.

22 years ago * tui-interp.c (tui_resume): Enable tui when we expected it.
Stephane Carrez [Wed, 23 Jul 2003 21:23:54 +0000 (21:23 +0000)] 
* tui-interp.c (tui_resume): Enable tui when we expected it.
(tui_suspend): Remember in which TUI mode we are.
(_initialize_tui_interp): Use the tui interpreter even when no
other interpreter was set and define in which TUI mode to start.

22 years ago2003-07-23 Michal Ludvig <mludvig@suse.cz>
Elena Zannoni [Wed, 23 Jul 2003 19:28:35 +0000 (19:28 +0000)] 
2003-07-23  Michal Ludvig  <mludvig@suse.cz>
    Elena Zannoni  <ezannoni@redhat.com>

  * linespec.c (decode_line_2): Avoid crash if
  find_function_start_sal() returns empty record.

22 years ago * ia64-tdep.c (ia64_print_insn): New function.
Andreas Schwab [Wed, 23 Jul 2003 18:33:22 +0000 (18:33 +0000)] 
* ia64-tdep.c (ia64_print_insn): New function.
(ia64_gdbarch_init): Set print_insn to it.
(_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and
deprecated_tm_print_insn_info.

22 years ago*** empty log message ***
gdbadmin [Wed, 23 Jul 2003 00:00:01 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago2003-07-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 22 Jul 2003 18:23:22 +0000 (18:23 +0000)] 
2003-07-22  Elena Zannoni  <ezannoni@redhat.com>

* dwarf2loc.c (locexpr_describe_location): Fix typos.

22 years ago2003-07-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 22 Jul 2003 18:14:21 +0000 (18:14 +0000)] 
2003-07-22  Elena Zannoni  <ezannoni@redhat.com>

dwarf2loc.c (locexpr_describe_location): Fix typo.

22 years ago2003-07-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 22 Jul 2003 15:44:10 +0000 (15:44 +0000)] 
2003-07-22  Elena Zannoni  <ezannoni@redhat.com>

* findvar.c (read_var_value): Remove case for thread local storage
variables.  It is now entirely handled by the dwarf2 location
expression code.
* printcmd.c (address_info): Ditto.
* symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC
enumeration value.
(struct symbol): Remove objfile field, which was used by
LOC_THREAD_LOCAL_STATIC only.
* dwarf2read.c (decode_locdesc): Remove is_thread_local variable.
* dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about
usage of objfile pointer.
* dwarf2loc.c (locexpr_describe_location): Add case to handle
thread local variables.
Add include of objfiles.h.
* dwarf2expr.c (execute_stack_op): Add comments about thread local
storage variables.
* Makefile.in (dwarf2loc.o): Update dependencies.

22 years ago * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
Andreas Schwab [Tue, 22 Jul 2003 12:18:06 +0000 (12:18 +0000)] 
* gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.

22 years ago*** empty log message ***
gdbadmin [Tue, 22 Jul 2003 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago2003-07-21 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 21 Jul 2003 14:28:28 +0000 (14:28 +0000)] 
2003-07-21  Andrew Cagney  <cagney@redhat.com>

* dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p".
* dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p".
(dwarf2_frame_cache): Use frame_unwind_address_in_block, instead
of frame_pc_unwind.
* i386-tdep.c (i386_gdbarch_init): Update.
* alpha-tdep.c (alpha_dwarf2_init_abi): Update.

22 years ago*** empty log message ***
gdbadmin [Mon, 21 Jul 2003 00:00:31 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use
Stephane Carrez [Sun, 20 Jul 2003 18:38:41 +0000 (18:38 +0000)] 
* m68hc11-tdep.c (m68hc11_pseudo_register_read): Use
regcache_cooked_read_unsigned instead of read_register.
(m68hc11_saved_pc_after_call): Likewise.
(m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned
instead of write_register.
(m68hc11_register_type): New function.
(m68hc11_register_virtual_type): Remove.
(m68hc11_store_return_value): Convert to use the regcache.
(m68hc11_extract_struct_value_address): Likewise.
(m68hc11_gdbarch_init): Remove deprecated ops for register to use
m68hc11_register_type; undeprecate store_return_value and
extract_struct_value_address.

22 years ago * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read
Stephane Carrez [Sun, 20 Jul 2003 14:19:49 +0000 (14:19 +0000)] 
* m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read
and translate to use regcache.
(m68hc11_gdbarch_init): Undeprecate extract_return_value.

22 years ago*** empty log message ***
gdbadmin [Sun, 20 Jul 2003 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
gdbadmin [Sat, 19 Jul 2003 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago2003-07-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 18 Jul 2003 20:16:34 +0000 (20:16 +0000)] 
2003-07-18  Andrew Cagney  <cagney@redhat.com>

From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>:
        * disasm.c (gdb_disassemble_info): Initilize di.arch.

22 years ago2003-07-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 18 Jul 2003 19:09:35 +0000 (19:09 +0000)] 
2003-07-18  Andrew Cagney  <cagney@redhat.com>

* ui-out.h (struct ui_file): Add opaque declaration.

22 years ago*** empty log message ***
gdbadmin [Fri, 18 Jul 2003 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago2003-07-17 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 17 Jul 2003 12:51:55 +0000 (12:51 +0000)] 
2003-07-17  Elena Zannoni  <ezannoni@redhat.com>

* Makefile.in (x86-64-linux-nat.o): Update dependencies.
* x86-64-linux-nat.c (ps_get_thread_area): New function.  Add
include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h.

22 years ago* avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue found.
Theodore A. Roth [Thu, 17 Jul 2003 04:23:48 +0000 (04:23 +0000)] 
* avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue found.
(avr_frame_unwind_cache): Don't unwind FP for main.
Update a comment.
Save the computed prev_sp.
(avr_saved_regs_unwinder): Remove function.
(avr_frame_prev_register): Use PC unwind logic from
avr_saved_regs_unwinder, otherwise use trad_frame_prev_register.

22 years ago*** empty log message ***
gdbadmin [Thu, 17 Jul 2003 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
gdbadmin [Wed, 16 Jul 2003 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago2003-07-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 15 Jul 2003 17:45:29 +0000 (17:45 +0000)] 
2003-07-15  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_frame_id): Use frame_unwind_find_by_frame.
(frame_register_unwind, create_new_frame): Ditto.
(legacy_get_prev_frame, get_frame_type): Ditto.
(get_frame_base_address): Use frame_base_find_by_frame.
(get_frame_locals_address): Use frame_base_find_by_frame.
(get_frame_args_address): Use frame_base_find_by_frame.
* frame-base.h (frame_base_sniffer_ftype): Declare.
(frame_base_append_sniffer): Declare.
(frame_base_find_by_frame): Replace frame_base_find_by_pc.
* frame-base.c (append_predicate): Add a "sniffer" parameter.
(frame_base_append_sniffer): New function.
(frame_base_append_predicate): Add a NULL sniffer.
(frame_base_find_by_frame): Replace "frame_base_find_by_pc".
(struct frame_base_table): Add "sniffer".
(frame_base_free): Free the "sniffer" table.
* frame-unwind.h (frame_unwind_sniffer_ftype): Define.
(frame_unwind_append_sniffer): Declare.
(frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc.
* frame-unwind.c (frame_unwind_free): Free the "sniffer" table.
(struct frame_unwind_table): Add "sniffer", delete "middle".
(append_predicate): Add "sniffer" parameter, append the sniffer.
(frame_unwind_init): Update append_predicate call.
(frame_unwind_append_sniffer): New function.
(frame_unwind_append_predicate): Update append_predicate call.
(frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc.

22 years ago2003-07-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 15 Jul 2003 17:32:14 +0000 (17:32 +0000)] 
2003-07-15  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_prev_frame): Move disabled inside_entry_func to
before code inhibiting repeated unwind attempts.  Add to
commentary on that test's problems.
* blockframe.c (inside_main_func): Look for "main" in the minimal
symbol table.
* d10v-tdep.c (d10v_frame_this_id): Delete check that frames are
identical.

Index: testsuite/ChangeLog
2003-07-15  Andrew Cagney  <cagney@redhat.com>

* gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.

22 years agoOops, forgot to add x86-64-linux-tdep.h in previous commit.
Michal Ludvig [Tue, 15 Jul 2003 12:34:12 +0000 (12:34 +0000)] 
Oops, forgot to add x86-64-linux-tdep.h in previous commit.

22 years agoThis commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.
nobody [Tue, 15 Jul 2003 12:34:09 +0000 (12:34 +0000)] 
This commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.

Cherrypick from master 2003-07-15 12:34:08 UTC Michal Ludvig <mludvig@suse.cz> 'Oops, forgot to add x86-64-linux-tdep.h in previous commit.':
    gdb/amd64fbsd-tdep.c
    gdb/config/i386/fbsd64.mh
    gdb/config/i386/fbsd64.mt
    gdb/config/i386/nm-fbsd64.h
    gdb/x86-64-linux-tdep.h

22 years ago2003-07-15 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Tue, 15 Jul 2003 11:30:59 +0000 (11:30 +0000)] 
2003-07-15  Michal Ludvig  <mludvig@suse.cz>

* x86-64-linux-nat.c (regmap): Removed.
(supply_gregset, fill_gregset): Call
x86_64_linux_(fill,supply)_gregset functions.
* x86-64-linux-tdep.c (USER_*): New defines.
(user_to_gdb_regmap, x86_64_core_fns): New structure.
(x86_64_linux_supply_gregset, x86_64_linux_fill_gregset):
New functions.
(fetch_core_registers): Ditto.
(_initialize_x86_64_linux_tdep): Call add_core_fns().
* x86-64-linux-tdep.h: New file.
* config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o
and core-regset.o.
* config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o.

22 years ago*** empty log message ***
gdbadmin [Tue, 15 Jul 2003 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
gdbadmin [Mon, 14 Jul 2003 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago* x86-64-tdep.c (x86_64_store_return_value): Use
Mark Kettenis [Sun, 13 Jul 2003 22:04:19 +0000 (22:04 +0000)] 
* x86-64-tdep.c (x86_64_store_return_value): Use
regcache_cooked_write_part instead of regcache_cooked_write.

22 years ago*** empty log message ***
gdbadmin [Sun, 13 Jul 2003 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
gdbadmin [Sat, 12 Jul 2003 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years agoFix my previous entry to denote the rule I changed.
Theodore A. Roth [Fri, 11 Jul 2003 18:00:10 +0000 (18:00 +0000)] 
Fix my previous entry to denote the rule I changed.

22 years ago* Makefile.in: Quote sed expression when generating transformed_name.
Theodore A. Roth [Fri, 11 Jul 2003 17:56:47 +0000 (17:56 +0000)] 
* Makefile.in: Quote sed expression when generating transformed_name.

22 years ago * Makefile.in (dwarf2-frame.o): Add complaints_h.
Richard Henderson [Fri, 11 Jul 2003 16:56:09 +0000 (16:56 +0000)] 
    * Makefile.in (dwarf2-frame.o): Add complaints_h.
        * dwarf2-frame.c: Include complaints.h.
        (decode_frame_entry_1): Rename from decode_frame_entry; tidy
        variable initialization; return NULL on error.
        (decode_frame_entry): New.

22 years ago2003-07-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 11 Jul 2003 14:54:14 +0000 (14:54 +0000)] 
2003-07-11  Andrew Cagney  <cagney@redhat.com>

* frame.h (get_frame_address_in_block): Declare.
(frame_unwind_address_in_block): Declare.
* frame.c (frame_unwind_address_in_block): New function.
(get_frame_address_in_block): New function.

22 years ago2003-07-09 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Fri, 11 Jul 2003 06:44:24 +0000 (06:44 +0000)] 
2003-07-09  Michal Ludvig  <mludvig@suse.cz>

* gdb.c++/templates.exp (test_ptype_of_templates): Recognize
expansion of size_t to 'unsigned long', not only to 'unsigned'.

22 years ago*** empty log message ***
gdbadmin [Fri, 11 Jul 2003 00:00:31 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
gdbadmin [Thu, 10 Jul 2003 00:00:31 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago * m68k-tdep.h (enum struct_return): Define.
Andreas Schwab [Wed, 9 Jul 2003 21:37:13 +0000 (21:37 +0000)] 
* m68k-tdep.h (enum struct_return): Define.
(struct gdbarch_tdep): Add struct_return.
* m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4
bytes are padded to the right, not to the left.  Pass struct value
address in register %a1, not on stack.
(m68k_use_struct_convention): New function.
(m68k_gdbarch_init): Set use_struct_convention.  Initialize
struct_return in tdep to pcc_struct_return.
* m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to
reg_struct_return.

22 years ago * somread.c (som_symfile_offsets): Fix compilation error.
Joel Brobecker [Wed, 9 Jul 2003 18:51:42 +0000 (18:51 +0000)] 
    * somread.c (som_symfile_offsets): Fix compilation error.

22 years ago2003-07-09 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 9 Jul 2003 13:20:39 +0000 (13:20 +0000)] 
2003-07-09  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.base/annota1.exp: Make sure that we properly escape the
        full path of the source file. Xfail more permissive patterns,
        due to a compiler debug info problem.

22 years ago*** empty log message ***
gdbadmin [Wed, 9 Jul 2003 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago2003-07-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 8 Jul 2003 20:17:35 +0000 (20:17 +0000)] 
2003-07-08  Andrew Cagney  <cagney@redhat.com>

* Makefile.in: Make dependency section headers consistent.
(config_h): Move to $BUILD headers section.
(exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto.
(msg_U_h, notify_S_h, process_reply_S_h): Ditto.
(ada-exp.tab.c): Move to YACC/LEX section.
(ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto.
(jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto.

22 years ago*** empty log message ***
gdbadmin [Tue, 8 Jul 2003 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago2003-07-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 7 Jul 2003 20:07:44 +0000 (20:07 +0000)] 
2003-07-07  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_prev_frame): Enable check for identical frames.
Update comments.  Update error messages.

22 years ago * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure.
Joel Brobecker [Mon, 7 Jul 2003 18:20:59 +0000 (18:20 +0000)] 
    * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure.

22 years ago * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to
Joel Brobecker [Mon, 7 Jul 2003 18:15:36 +0000 (18:15 +0000)] 
    * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to
        sort_symtab_syms, no longer necessary.

22 years ago * mips-tdep.c (mips_register_raw_size): Fix compilation failure.
Joel Brobecker [Mon, 7 Jul 2003 17:52:23 +0000 (17:52 +0000)] 
    * mips-tdep.c (mips_register_raw_size): Fix compilation failure.
        (mips_register_byte): Likewise.

22 years ago2003-07-07 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 7 Jul 2003 15:57:29 +0000 (15:57 +0000)] 
2003-07-07  Daniel Jacobowitz  <drow@mvista.com>

* Makefile.in (sparc_tdep_h): New.
(sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o)
(sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h).
* sparc-linux-nat.c: Include "sparc-tdep.h".
* sparc-nat.c: Likewise.
* sparc-tdep.c: Likewise.
* sparc64nbsd-nat.c: Likewise.
* sparcnbsd-nat.c: Likewise.
* sparcnbsd-tdep.c: Likewise.
* sparc-tdep.h: New file.
* config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum
and sparc_npc_regnum.

22 years agoThis commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.
nobody [Mon, 7 Jul 2003 15:56:09 +0000 (15:56 +0000)] 
This commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.

Cherrypick from master 2003-07-07 15:56:08 UTC Daniel Jacobowitz <drow@false.org> ' * Makefile.in (sparc_tdep_h): New.':
    gdb/sparc-tdep.h

22 years ago * mips-linux-nat.c (mips_linux_cannot_fetch_register)
Daniel Jacobowitz [Mon, 7 Jul 2003 15:18:16 +0000 (15:18 +0000)] 
* mips-linux-nat.c (mips_linux_cannot_fetch_register)
(mips_linux_cannot_store_register): List supported instead of
unsupported registers.

22 years ago * disasm.c (dump_insns): Separate instructions from addresses.
Daniel Jacobowitz [Mon, 7 Jul 2003 15:11:16 +0000 (15:11 +0000)] 
* disasm.c (dump_insns): Separate instructions from addresses.

22 years ago * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update
Andreas Schwab [Mon, 7 Jul 2003 15:07:23 +0000 (15:07 +0000)] 
* Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update
dependencies.
* m68k-tdep.c (NUM_FREGS): Delete.
(SIG_PC_FP_OFFSET): Delete.
(TARGET_M68K): Delete.
(P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP,
P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP,
P_MOVEL_SP, P_MOVEML_SP): Define.
(P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM,
P_TRAP): Delete.
        (m68k_register_raw_size): Delete.
(m68k_register_virtual_size): Delete.
(m68k_register_type): Renamed from m68k_register_virtual_type and
add gdbarch argument.
(m68k_store_struct_return): Delete.
(m68k_deprecated_extract_return_value): Delete.
(m68k_deprecated_extract_struct_value_address): Delete.
(m68k_frame_chain): Delete.
(m68k_frame_saved_pc): Delete.
(m68k_fix_call_dummy): Delete.
(m68k_push_dummy_frame): Delete.
(m68k_pop_frame): Delete.
(m68k_extract_return_value): New function.
(m68k_store_return_value): Rewrite using regcache.
(m68k_extract_struct_value_address): Rewrite using regcache.
(m68k_push_dummy_call): New function.
(struct m68k_frame_cache): Define.
(m68k_alloc_frame_cache): New function.
(m68k_analyze_frame_setup): New function.
(m68k_analyze_register_saves): New function.
(m68k_analyze_prologue): New function.
(m68k_skip_prologue): Rewrite using above functions.
(m68k_unwind_pc): New function.
(m68k_frame_cache): New function.
(m68k_frame_this_id): New function.
(m68k_frame_prev_register): New function.
(m68k_frame_unwind): New variable.
(m68k_frame_p): New function.
(m68k_sigtramp_frame_cache): New function.
(m68k_sigtramp_frame_this_id): New function.
(m68k_sigtramp_frame_prev_register): New function.
(m68k_sigtramp_frame_unwind): New variable.
(m68k_sigtramp_frame_p): New function.
(m68k_frame_base_address): New function.
(m68k_frame_base): New function.
(m68k_unwind_dummy_id): New function.
(fill_gregset): Use regcache_collect.
(fill_fpregset): Likewise.
(m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is
defined.
(m68k_gdbarch_init): Don't define call_dummy_words.  Don't set
deprecated_init_frame_pc, deprecated_store_struct_return,
deprecated_extract_return_value, deprecated_store_return_value,
deprecated_frame_chain, deprecated_frame_saved_pc,
deprecated_frame_init_saved_regs, deprecated_register_raw_size,
deprecated_register_virtual_size,
deprecated_max_register_raw_size,
deprecated_max_register_virtual_size,
deprecated_register_virtual_type, deprecated_register_size,
deprecated_register_byte, deprecated_register_bytes,
deprecated_fp_regnum, deprecated_use_generic_dummy_frames,
call_dummy_location, deprecated_call_dummy_breakpoint_offset,
deprecated_pc_in_call_dummy, deprecated_call_dummy_length,
deprecated_call_dummy_start_offset, deprecated_call_dummy_words,
deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy,
deprecated_push_dummy_frame, deprecated_pop_frame,
deprecated_dummy_write_sp.  Set deprecated_saved_pc_after_call
only if SYSCALL_TRAP is defined.  Set extract_return_value,
store_return_value, extract_struct_value_address, register_type,
push_dummy_call, unwind_dummy_id, unwind_pc.  Add two frame unwind
predicates.
* m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS,
M68K_MAX_REGISTER_SIZE): Define.
(struct m68k_sigtramp_info): Define.
(struct gdbarch_tdep): Add get_sigtramp_info.
* m68klinux-nat.c (fetch_register): Use register_size instead of
REGISTER_RAW_SIZE.  Don't put assignment in if.
(store_register): Likewise.
(fetch_inferior_registers): Likewise.
(store_inferior_registers): Likewise.
* m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete.
(m68k_linux_frame_saved_pc): Delete.
(m68k_linux_sigcontext_reg_offset,
m68k_linux_ucontext_reg_offset): Define.
(m68k_linux_get_sigtramp_info): New function.
(m68k_linux_extract_return_value): Rewrite using regcache.
(m68k_linux_store_return_value): Likewise.
(m68k_linux_extract_struct_value_address): Likewise.
(m68k_linux_init_abi): Set get_sigtramp_info in tdep structure.
Don't set deprecated_frame_saved_pc,
deprecated_extract_return_value, deprecated_store_return_value,
deprecated_extract_struct_value_address.  Set
extract_return_value, store_return_value,
extract_struct_value_address.

22 years ago * gdb.asm/m68k.inc: New file.
Andreas Schwab [Mon, 7 Jul 2003 14:50:39 +0000 (14:50 +0000)] 
* gdb.asm/m68k.inc: New file.
* gdb.asm/asm-source.exp: Use it for m68k-*-*.

22 years agoThis commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.
nobody [Mon, 7 Jul 2003 14:48:51 +0000 (14:48 +0000)] 
This commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.

Cherrypick from master 2003-07-07 14:48:50 UTC Andreas Schwab <schwab@linux-m68k.org> ' * gdb.asm/m68k.inc: New file.':
    gdb/testsuite/gdb.asm/m68k.inc

22 years ago*** empty log message ***
gdbadmin [Mon, 7 Jul 2003 00:00:01 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago * gdb.objc/basicclass.exp ("Call an Objective-C method with no
Andreas Schwab [Sun, 6 Jul 2003 22:26:09 +0000 (22:26 +0000)] 
* gdb.objc/basicclass.exp ("Call an Objective-C method with no
arguments"): Also match negative number.

* gdb.base/float.exp ("info float"): Add test for m68k-*-*.

22 years ago* win32-nat.c (solib_symbols_add): Use one variable for all section address
Christopher Faylor [Sun, 6 Jul 2003 19:55:40 +0000 (19:55 +0000)] 
* win32-nat.c (solib_symbols_add): Use one variable for all section address
stuff.  Pass variable rather than address of variable to safe_symbol_file_add.

22 years ago * m68klinux-nat.c (fill_fpregset): Fix use of loop index.
Andreas Schwab [Sun, 6 Jul 2003 18:59:14 +0000 (18:59 +0000)] 
* m68klinux-nat.c (fill_fpregset): Fix use of loop index.

22 years ago*** empty log message ***
gdbadmin [Sun, 6 Jul 2003 00:00:31 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
gdbadmin [Sat, 5 Jul 2003 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago * rs6000-nat.c (vmap_symtab): Fix compilation error.
Joel Brobecker [Fri, 4 Jul 2003 16:44:58 +0000 (16:44 +0000)] 
    * rs6000-nat.c (vmap_symtab): Fix compilation error.

22 years ago * remote-vx.c (vx_add_symbols): Fix compilation error.
Joel Brobecker [Fri, 4 Jul 2003 01:30:30 +0000 (01:30 +0000)] 
   * remote-vx.c (vx_add_symbols): Fix compilation error.

22 years ago*** empty log message ***
gdbadmin [Fri, 4 Jul 2003 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago * cli/cli-interp.c (cli_interpreter_resume): Update the
Daniel Jacobowitz [Thu, 3 Jul 2003 14:49:09 +0000 (14:49 +0000)] 
* cli/cli-interp.c (cli_interpreter_resume): Update the
cli_uiout's stream to gdb_stdout.

22 years ago2003-07-03 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 3 Jul 2003 14:48:58 +0000 (14:48 +0000)] 
2003-07-03  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add
predicate.
* gdbarch.h, gdbarch.c: Re-generate.
* regcache.c (init_regcache_descr): Use legacy code when either
REGISTER_BYTE or REGISTER_RAW_SIZE is set.

22 years ago * gdb.base/store.c (charest): New typedef.
Daniel Jacobowitz [Thu, 3 Jul 2003 13:56:19 +0000 (13:56 +0000)] 
* gdb.base/store.c (charest): New typedef.
(add_char): Rename to add_charest, update.
(wack_char): Rename to wack_charest, update types.  Return l + r
to keep r live across the call.
(wack_short, wack_int, wack_long, wack_longest, wack_float)
(wack_double, wack_doublest): Return l + r to keep r live across
the call.
* gdb.base/store.exp: Accomodate store.c changes.

22 years ago*** empty log message ***
gdbadmin [Thu, 3 Jul 2003 00:00:31 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago./
Daniel Jacobowitz [Wed, 2 Jul 2003 20:52:33 +0000 (20:52 +0000)] 
./
* cli/cli-logging.c: New file.
* cli-out.c (struct ui_out_data): Add original_stream.
(cli_redirect): New function.
(cli_ui_out_impl): Add cli_redirect.
(cli_out_new): Initialize original_stream.
* ui-out.c (default_ui_out_impl): Add NULL for redirect member.
(uo_redirect, ui_out_redirect): New.
* ui-out.h (struct ui_out_impl): Add redirect member.
(redirect_ftype): New.
(ui_out_redirect): Add prototype.
* Makefile.in: Add rules for cli-logging.c.
* NEWS: Mention "set logging".
mi/
* mi-out.c (mi_ui_out_impl): Add NULL for redirect member.
tui/
* tui-out.c (tui_ui_out_impl): Add NULL for redirect member.
doc/
* gdb.texinfo (Logging output): New chapter.

22 years ago* s390-tdep.c (struct frame_extra_info): new member:
Jim Blandy [Wed, 2 Jul 2003 19:38:46 +0000 (19:38 +0000)] 
* s390-tdep.c (struct frame_extra_info): new member:
'stack_bought_valid'.
(s390_get_frame_info): Set fextra_info->stack_bought_valid if we
initialize fextra_info->stack_bought.
(s390_frameless_function_invocation): Don't trust the value of
fextra_info_ptr->stack_bought unless
fextra_info->stack_bought_valid is set.

22 years agoNew S390 prologue analyzer.
Jim Blandy [Wed, 2 Jul 2003 19:33:12 +0000 (19:33 +0000)] 
New S390 prologue analyzer.
* s390-tdep.c (struct prologue_value, enum pv_boolean): New types.
(pv_set_to_unknown, pv_set_to_constant, pv_set_to_register,
pv_constant_last, pv_add, pv_add_constant, pv_subtract,
pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref,
compute_x_addr, s390_on_stack, s390_store,
s390_get_signal_frame_info): New functions.
(S390_NUM_SPILL_SLOTS): New macro.
(s390_get_frame_info): Rewritten.
(is_arg_reg): Deleted.

Break out the decoding of S/390 instructions into separate
functions, to make it more legible, and easier to check
against the spec.
* s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse,
is_rx, is_rxe): New functions.
(op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras,
op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi,
op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st,
op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New
enums for opcode values.  (Is this an improvement?)

22 years ago2003-07-02 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 2 Jul 2003 17:20:29 +0000 (17:20 +0000)] 
2003-07-02  Andrew Cagney  <cagney@redhat.com>

* i386-tdep.c: Revert change committed as part of trad-frame code
below.

22 years agoUlgh! Revert stray patch involving trad-frames.
Andrew Cagney [Wed, 2 Jul 2003 17:15:54 +0000 (17:15 +0000)] 
Ulgh! Revert stray patch involving trad-frames.

22 years ago * breakpoint.c (insert_catchpoint): Make static.
Daniel Jacobowitz [Wed, 2 Jul 2003 16:24:30 +0000 (16:24 +0000)] 
* breakpoint.c (insert_catchpoint): Make static.

22 years ago2003-06-29 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 2 Jul 2003 14:24:46 +0000 (14:24 +0000)] 
2003-06-29  Michael Chastain  <mec@shout.net>

* gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
output of '<VTT for class>' for virtual base classes.