Jason Thorpe
4bcbd6cb5f
* config/alpha/tm-alpha.h: Move alpha_software_single_step
...
prototype from here...
* alpha-tdep.h: ...to here.
2002-04-21 20:27:29 +00:00
Andrew Cagney
b31da25ee5
* frame.h (selected_frame_level): Document as deprecated.
...
(frame_relative_level): Declare.
* stack.c (frame_relative_level): New function.
(selected_frame_level): Document as deprecated.
(select_frame): Do not set the selected_frame_level.
* stack.c (frame_info, record_selected_frame): Update.
(frame_command, current_frame_command): Update.
(up_silently_base, up_command, down_silently_base): Update.
(down_command): Update.
* inflow.c (kill_command): Update.
* tracepoint.c (finish_tfind_command): Update.
* corelow.c (core_open): Update.
* thread.c (info_threads_command): Update.
(do_captured_thread_select): Update.
* infcmd.c (finish_command): Update.
* breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update.
2002-04-21 20:23:34 +00:00
Jason Thorpe
9c1d6fe553
* config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove.
2002-04-21 20:17:28 +00:00
Andrew Cagney
ab89facf70
* arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return
...
type const.
2002-04-21 19:58:35 +00:00
Jason Thorpe
82a4efa15c
* alphafbsd-tdep.c: Update copyright years. Include
...
alpha-tdep.h.
(alphafbsd_use_struct_convention): Make static.
(alphafbsd_init_abi): New function.
(_initialize_alphafbsd_tdep): New function.
* config/alpha/tm-fbsd.h: Update copyright years.
(USE_STRUCT_CONVENTION): Remove.
2002-04-21 19:47:19 +00:00
Jason Thorpe
44dffaac91
* alpha-tdep.c (alpha_abi_handler): New structure to describe
...
an Alpha ABI variant.
(alpha_abi_handler_list): Declare.
(alpha_gdbarch_register_os_abi): New function.
(alpha_gdbarch_init): Give registered ABI variant handlers a
chance to tweak the gdbarch once we have set up defaults.
* alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi.
2002-04-21 18:24:48 +00:00
Jason Thorpe
65585be4ba
* alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double
...
to standard_coerce_float_to_double.
* config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove.
2002-04-21 17:54:50 +00:00
Jason Thorpe
d9b023ccd4
* alpha-tdep.h (gdbarch_tdep): Add vm_min_address member.
...
* alpha-tdep.c (heuristic_proc_start): Use vm_min_address
from gdbarch_tdep rather than a constant.
(alpha_gdbarch_init): Initialize tdep->vm_min_address to
the default text address for all Alpha Unix ABIs.
(alpha_dump_tdep): Report the value of tdep->vm_min_address.
* config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete.
2002-04-21 17:30:09 +00:00
Jason Thorpe
dc129d8238
* alpha-tdep.h: New file. Includes several Alpha target constants
...
taken from...
* config/alpha/tm-alpha.h: ...here. Remove macros that we now
let gdbarch deal with.
(GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL.
* Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd
to dependency list.
* alpha-nat.c: Include alpha-tdep.h. Update for adjusted
Alpha target register names.
* alphabsd-nat.c: Likewise.
* alpha-tdep.c: Include alpha-tdep.h. Update for adjusted
Alpha target register names. Make serveral routines static.
(alpha_get_saved_register): New function.
(alpha_abi_names): New.
(process_note_abi_tag_sections): New function.
(get_elfosabi): New function.
(alpha_gdbarch_init): New function.
(alpha_dump_tdep): New function.
(_initialize_alpha_tdep): Register alpha_gdbarch_init.
2002-04-21 16:52:39 +00:00
Andrew Cagney
d49d1e0a2f
* frame.c (find_saved_register): Delete #ifdef
...
HAVE_REGISTER_WINDOWS code.
* config/sparc/tm-sparc.h: Update comments.
* config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro.
* gdbint.texinfo (Target Architecture Definition): Delete
definition of HAVE_REGISTER_WINDOWS.
2002-04-21 15:52:35 +00:00
Andrew Cagney
92e8c9ed1f
* i960-tdep.c (i960_find_saved_register): New function.
...
(i960_get_saved_register): New function.
* config/i960/tm-i960.h (GET_SAVED_REGISTER): Define.
(i960_get_saved_register): Declare.
* config/i960/tm-i960.h, i960-tdep.c: Update copyright.
2002-04-21 15:19:06 +00:00
David S. Miller
e192511835
2002-04-20 David S. Miller <davem@redhat.com>
...
* sparc-nat.c (store-inferior_registers): Fix ambiguous else.
2002-04-21 05:34:06 +00:00
Andrew Cagney
29673b2905
* arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs
...
instead of NUM_PSEUDO_REGS.
2002-04-21 03:46:44 +00:00
David S. Miller
6c86dcd550
2002-04-20 David S. Miller <davem@redhat.com>
...
* config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to
GDB_MULTI_ARCH_PARTIAL
* config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not
define, let tm-sp64.h do it.
2002-04-21 01:51:00 +00:00
gdbadmin
96bf2febf8
*** empty log message ***
2002-04-21 00:00:32 +00:00
Jason Thorpe
aa40ec9031
* frame.c (find_saved_register): Avoid a NULL pointer
...
dereference and actually walk the frame list.
2002-04-20 23:54:28 +00:00
Andrew Cagney
0f79675b65
* gdbarch.sh (gdbarch_update_p): Keep the list of architectures
...
sorted in most most-recent-used order. Document.
* gdbarch.h, gdbarch.c: Regenerate.
2002-04-20 17:41:18 +00:00
Daniel Jacobowitz
c04a1aa88f
2002-04-20 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/inferiors.c (struct inferior_info): Add regcache_data.
(add_inferior): Call create_register_cache.
(clear_inferiors): Call free_register_cache.
(inferior_regcache_data, set_inferior_regcache_data): New functions.
* gdbserver/regcache.c (struct inferior_regcache_data): New.
(registers): Remove.
(get_regcache): New function.
(create_register_cache, free_register_cache): New functions.
(set_register_cache): Don't initialize the register cache here.
(registers_to_string, registers_from_string, register_data): Call
get_regcache.
* gdbserver/regcache.h: Add prototypes.
* gdbserver/server.h: Likewise.
2002-04-20 17:22:48 +00:00
Daniel Jacobowitz
611cb4a542
2002-04-20 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/mem-break.c: New file.
* gdbserver/mem-break.h: New file.
* gdbserver/Makefile.in: Add mem-break.o rule; update server.h
dependencies.
* gdbserver/inferiors.c (struct inferior_info): Add target_data
member.
(clear_inferiors): Free target_data member if set.
(inferior_target_data, set_inferior_target_data): New functions.
* gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len)
(i386_stop_pc, i386_set_pc): New. Add to the_low_target.
* gdbserver/linux-low.c (linux_bp_reinsert): New variable.
(struct inferior_linux_data): New.
(linux_create_inferior): Use set_inferior_target_data.
(linux_attach): Likewise. Call add_inferior.
(linux_wait_for_one_inferior): New function.
(linux_wait): Call it.
(linux_write_memory): Add const.
(initialize_low): Call set_breakpoint_data.
* gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint
handling members.
* gdbserver/server.c (attach_inferior): Remove extra add_inferior
call.
* gdbserver/server.h: Include mem-break.h. Update inferior.c
prototypes.
* gdbserver/target.c (read_inferior_memory)
(write_inferior_memory): New functions.
* gdbserver/target.h (read_inferior_memory)
(write_inferior_memory): Change macros to prototypes.
(struct target_ops): Update comments. Add const to write_memory
definition.
2002-04-20 17:04:09 +00:00
Andrew Cagney
f91305dd5e
Fix date.
2002-04-20 03:12:55 +00:00
Andrew Cagney
bf75c8c166
* sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame
...
instead of ->prev.
* z8k-tdep.c (z8k_frame_chain): Do not use ->prev.
* s390-tdep.c (s390_frame_chain): Do not use ->prev.
* rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain()
instead of ->prev.
2002-04-20 03:09:28 +00:00
Elena Zannoni
73d322b1b9
2002-04-19 Elena Zannoni <ezannoni@redhat.com>
...
Fix PR gdb/471.
* gdbtypes.c (init_simd_type): Rewrite using new functions.
(build_builtin_type_vec128): Ditto..
(append_composite_type_field): Fix calculation of type length in
union case.
2002-04-20 01:09:28 +00:00
gdbadmin
1d494665d3
*** empty log message ***
2002-04-20 00:00:06 +00:00
Eli Zaretskii
4be3147047
(Releasing GDB, Coding): Fix typos.
2002-04-19 19:33:57 +00:00
Eli Zaretskii
ccd9a834f9
go32-nat.c (store_register): Cast &a_tss to `char *', to avoid compiler
...
warning.
config/djgpp/README: Update.
2002-04-19 19:28:54 +00:00
David S. Miller
a1706bfd87
2002-04-17 David S. Miller <davem@redhat.com>
...
* gdb.asm/sparc64.inc: New file.
* gdb.asm/asm-source.exp: Handle sparc64-*-*.
2002-04-19 17:21:48 +00:00
Elena Zannoni
a73a20a2d5
2002-04-19 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.asm/asm-source.exp: Don't use a symlink, just copy the
instruction file directly into the build tree. Clean up at end of
test.
2002-04-19 16:06:59 +00:00
Jason Thorpe
a57f9e49f5
* alpha-tdep.c (setup_arbitrary_frame): Rename...
...
(alpha_setup_arbitrary_frame): ...to this.
* config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update
for alpha_setup_arbitrary_frame.
2002-04-19 05:11:53 +00:00
gdbadmin
1378fa9350
*** empty log message ***
2002-04-19 00:00:04 +00:00
David S. Miller
ba6783391f
2002-04-18 David S. Miller <davem@redhat.com>
...
* gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
handle 64-bit platforms correctly.
* gdb.base/maint.exp: Likewise.
2002-04-18 22:17:01 +00:00
Kevin Buettner
b03399da11
* gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
...
``-fpic'' when compiling files comprising a shared library, but
it does need additional linker flags in order to find shared
libraries at run time.
2002-04-18 21:07:20 +00:00
Andrew Cagney
f4f9705a2d
* gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer.
...
* gdbarch.h, gdbarch.c: Regenerate.
* defs.h (breakpoint_from_pc_fn): Delete type definition.
* target.h (memory_breakpoint_from_pc): Update declaration.
* config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto.
* arch-utils.c (legacy_breakpoint_from_pc): Update return type.
* mcore-tdep.c (mcore_breakpoint_from_pc): Ditto.
* mem-break.c (memory_breakpoint_from_pc): Ditto.
* rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto.
* s390-tdep.c (s390_breakpoint_from_pc): Ditto
* xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto.
* mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto.
* mips-tdep.c (mips_breakpoint_from_pc): Ditto.
* m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto.
* ia64-tdep.c (ia64_breakpoint_from_pc): Ditto.
* d10v-tdep.c (d10v_breakpoint_from_pc): Ditto.
* arch-utils.c (legacy_breakpoint_from_pc): Ditto..
* mem-break.c (default_memory_insert_breakpoint): Make `bp' a
const pointer.
* monitor.c (monitor_insert_breakpoint): Ditto.
* rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'.
* config/mcore/tm-mcore.h: Update copyright.
* mem-break.c: Ditto.
* xstormy16-tdep.c: Ditto.
2002-04-18 18:09:09 +00:00
Pierre Muller
29f319b84c
2002-04-18 Pierre Muller <muller@ics.u-strasbg.fr>
...
* p-exp.y: Add precedence rule for '^' token.
This removes the shift/reduce conflicts.
Remove the comment concerning these shift/reduce conflicts.
2002-04-18 15:22:19 +00:00
Elena Zannoni
ebeac11a97
2002-04-17 Elena Zannoni <ezannoni@redhat.com>
...
* rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro.
(registers_powerpc_nofp): New register set for processors
without floating point unit.
2002-04-18 15:10:15 +00:00
Kevin Buettner
e20049926b
* gdb.base/cvexpr.c (use): New function.
...
(main): Invoke use() on all global variables to prevent
some linkers from deleting these otherwise unused symbols.
2002-04-18 13:21:03 +00:00
David S. Miller
27c31547c0
2002-04-18 David S. Miller <davem@redhat.com>
...
* MAINTAINERS: Add myself to write-after-approval.
2002-04-18 08:32:16 +00:00
Michael Chastain
d8937120db
2002-04-17 Michael Chastain <mec@shout.net>
...
From David S. Miller <davem@redhat.com>
* gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
handle 64-bit platforms correctly.
2002-04-18 03:24:20 +00:00
gdbadmin
826ede653b
*** empty log message ***
2002-04-18 00:00:34 +00:00
Andrew Cagney
953836b25a
* rs6000-tdep.c (frame_initial_stack_address): Use
...
frame_register_read to read the alloca_reg.
2002-04-17 23:28:38 +00:00
Andrew Cagney
8b0d4340d7
* frame.c (find_saved_register): Find saved registers in the next
...
not prev frame.
Fix PR gdb/365.
2002-04-17 21:55:12 +00:00
Andrew Cagney
d886453249
* gdbarch.sh (LANG): Set to ``c''.
2002-04-17 18:47:54 +00:00
gdbadmin
6338913390
*** empty log message ***
2002-04-17 00:00:36 +00:00
gdbadmin
0c485e66f5
*** empty log message ***
2002-04-16 00:00:34 +00:00
Andrew Cagney
36cc83a397
* PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems.
2002-04-15 21:31:49 +00:00
Don Howard
5ca0cb286a
2002-04-15 Don Howard <dhoward@redhat.com>
...
From Eli Zaretskii <eliz@is.elta.co.il>
* gdb.texinfo (show max-user-call-depth): Correct formatting.
Provide a better explaination of this feature.
2002-04-15 17:23:54 +00:00
Andrew Cagney
2c7ef07446
* bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h".
...
Update copyright.
2002-04-15 05:23:01 +00:00
Andrew Cagney
628703c64b
tipo
2002-04-15 04:52:39 +00:00
Andrew Cagney
2f4150cc14
* hpread.c (hpread_getlntt): Add declaration.
...
Also fix PR gdb/391.
2002-04-15 04:52:08 +00:00
Andrew Cagney
56157b4ad6
* acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6.
...
* aclocal.m4, configure: Re-generate.
Fix PR gdb/391.
2002-04-15 04:28:41 +00:00
Elena Zannoni
6d1e3329f6
2002-04-14 Elena Zannoni <ezannoni@redhat.com>
...
* mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN
instead of tm_print_insn.
2002-04-15 02:24:40 +00:00
Elena Zannoni
cb06fa073c
2002-04-14 Elena Zannoni <ezannoni@redhat.com>
...
* ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo.
2002-04-15 01:09:55 +00:00
gdbadmin
580af05d1c
*** empty log message ***
2002-04-15 00:00:32 +00:00
Andrew Cagney
f208ba17b9
* config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro.
...
* blockframe.c (FRAME_CHAIN_COMBINE): Delete macro.
(get_prev_frame): Do not call FRAME_CHAIN_COMBINE.
* gdbint.texinfo (Target Architecture Definition): Remove
FRAME_CHAIN_COMBINE.
2002-04-14 13:38:07 +00:00
gdbadmin
56a584a128
*** empty log message ***
2002-04-14 00:00:02 +00:00
Michael Chastain
d5ba91def6
2002-04-12 Michael Chastain <mec@shout.net>
...
* gdbint.texinfo (Obsolete Conditionals): Remove reference to
REG_STACK_SEGMENT.
2002-04-13 15:56:42 +00:00
Michael Snyder
ffd61a589b
2002-04-12 Michael Snyder <msnyder@redhat.com>
...
From Jim Blandy <jimb@redhat.com>
* gdb.base/foo.c (foox): Remove section attribute; the linker
script can handle this instead.
* gdb.base/bar.c (barx): Same.
* gdb.base/baz.c (bazx): Same.
* gdb.base/grbx.c (grbxx): Same.
* gdb.base/overlays.exp: New test: check that GDB's manual overlay
manager doesn't automatically unmap overlays unnecessarily.
2002-04-13 00:21:40 +00:00
Michael Snyder
694f61fb27
2002-04-12 Michael Snyder <msnyder@redhat.com>
...
* Remote.c: Spelling fix.
2002-04-13 00:12:30 +00:00
gdbadmin
4249b23ce6
*** empty log message ***
2002-04-13 00:01:04 +00:00
Michael Snyder
20fe79c82c
2002-04-12 Michael Snyder <msnyder@redhat.com>
...
* gcore.c (default_derive_heap_segment): Use bfd_section_name.
If no symbol found for "sbrk", try "_sbrk".
(make_output_phdrs): Use bfd_section_name.
(gcore_copy_callback): Use bfd_section_name.
2002-04-12 23:09:48 +00:00
Michael Snyder
62995fc4a5
2002-04-12 Michael Snyder <msnyder@redhat.com>
...
* eval.c: Indentation fix-ups.
2002-04-12 22:54:17 +00:00
Michael Snyder
169a7369fc
2002-04-12 Michael Snyder <msnyder@redhat.com>
...
* d10v-tdep.c (d10v_make_iaddr): Make it idempotent,
in case it gets applied to an address that is already
in the instruction space.
2002-04-12 22:50:42 +00:00
Michael Snyder
de74f71f00
2002-04-12 Michael Snyder <msnyder@redhat.com>
...
* cli/cli-decode.c (help_list): Allow long lines to wrap.
2002-04-12 22:44:18 +00:00
Don Howard
20f01a4665
2002-04-12 Don Howard <dhoward@redhat.com>
...
* cli/cli-cmds.c (init_cli_cmds): Add new user settable value:
max_user_call_depth.
(init_cmd_lists): Initialize the new value;
* cli/cli-script.c (execute_user_command): Limit the call depth of
user defined commands. This avoids a core-dump when user commands
are infinitly recursive.
2002-04-12 22:31:23 +00:00
Kevin Buettner
a88376a3e1
Delete DEFAULT_LR_SAVE.
2002-04-12 19:48:37 +00:00
Michael Snyder
f2172603b5
2002-04-12 Michael Snyder <msnyder@redhat.com>
...
* source.c: White space fix-up.
2002-04-12 19:46:29 +00:00
Andrew Cagney
cda5a58a3e
* defs.h (read_relative_register_raw_bytes): Delete declaration.
...
* frame.c (frame_register_read): New function. Return non-zero on
success.
(read_relative_register_raw_bytes_for_frame): Delete.
(read_relative_register_raw_bytes): Delete.
* frame.h (frame_register_read): Declare.
* d30v-tdep.c: Update Copyright. Use frame_register_read.
* sh-tdep.c: Ditto.
* infcmd.c (do_registers_info): Ditto.
* hppa-tdep.c: Ditto.
* rs6000-tdep.c: Ditto.
* h8500-tdep.c: Ditto.
* mips-tdep.c: Ditto.
* h8300-tdep.c: Ditto.
* z8k-tdep.c: Ditto.
2002-04-12 18:18:59 +00:00
Kevin Buettner
2ea5f656d7
From Jimi X <jimix@watson.ibm.com>:
...
* rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for
64-bit SysV ABI.
2002-04-12 17:12:24 +00:00
Kevin Buettner
27b1578512
From Jimi X <jimix@watson.ibm.com>:
...
* rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from
bfd info.
2002-04-12 07:37:18 +00:00
Kevin Buettner
5d57ee30b3
From Jimi X <jimix@watson.ibm.com>:
...
* rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define
register sets for these processor variants.
2002-04-12 07:20:32 +00:00
gdbadmin
c7b398788c
*** empty log message ***
2002-04-12 00:00:33 +00:00
Daniel Jacobowitz
bc1e36cac4
2002-04-11 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/linux-low.c (usr_store_inferior_registers): Support
registers which are allowed to fail to store.
* gdbserver/linux-low.h (linux_target_ops): Likewise.
* gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR.
(ppc_cannot_store_register): FPSCR may not be storable.
* regformats/reg-ppc.dat: Support FPSCR.
2002-04-11 20:30:08 +00:00
Kevin Buettner
e3f36dbd47
Add support for the fpscr register for Power / PowerPC targets.
2002-04-11 19:08:56 +00:00
Michael Snyder
943c9c25d6
2002-04-11 Michael Snyder <msnyder@redhat.com>
...
* configure.in: Autoconfiscate _SYSCALL32 define for solaris.
* configure: Regenerate.
* config.in: Regenerate.
* acconfig.h: Add define for _SYSCALL32.
* core-sol2.c: Remove #define _SYSCALL32.
* solib-legacy.c: Remove #define _SYSCALL32.
2002-04-11 18:32:51 +00:00
Michael Snyder
fda6ae12ae
2002-02-14 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/gcore.exp: Relax recognition of function breakpoint.
2002-04-11 18:24:08 +00:00
Michael Snyder
670a52dbc7
2002-02-13 Michael Snyder <msnyder@redhat.com>
...
* config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES.
2002-04-11 18:13:21 +00:00
Martin Hunt
6b8426a663
2002-04-10 Martin M. Hunt <hunt@redhat.com>
...
* gdb.base/ending-run.exp: Fix pattern for Mips targets
stepping out of main.
2002-04-11 03:31:26 +00:00
gdbadmin
6b2d8da01f
*** empty log message ***
2002-04-11 00:00:03 +00:00
Andrew Cagney
d8c0a2e707
* stack.c (select_frame): Cleanup internal error message, do not
...
use %p.
2002-04-10 23:32:33 +00:00
Andrew Cagney
7cc19214aa
* stack.c (select_frame): Check that selected_frame and the
...
specified level are as expected.
* blockframe.c (get_prev_frame): Set the `level' from next_frame.
Update copyright.
* frame.h (struct frame_info): Add field `level'. Update
copyright.
Work-in-progress PR gdb/464.
2002-04-10 22:14:02 +00:00
Andrew Cagney
67a2b77eff
* maint.c (maint_print_section_info): Rename print_section_info.
...
(print_bfd_section_info, print_objfile_section_info): Update.
* inferior.h (struct gdbarch): Add opaque declaration.
* gdbarch.sh: Add include of "inferior.h" to gdbarch.sh.
* gdbarch.h: Regenerate.
2002-04-10 22:00:20 +00:00
Michal Ludvig
8cfda98c96
* x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete.
...
(PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h.
(kernel_u_size): Added.
* config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete.
(PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h.
2002-04-10 12:12:36 +00:00
Michael Chastain
268182205b
2002-04-09 Michael Chastain <mec@shout.net>
...
* gdbint.texinfo (Obsolete Conditionals): Remove references to
PYRAMID_* macros.
2002-04-10 05:11:35 +00:00
Michael Chastain
34af487575
2002-04-09 Michael Chastain <mec@shout.net>
...
* gdb.c++/local.cc (main): Move call to marker1() inside nested
scope so that the nested scope tests will make sense.
* gdb.c++/local.exp: Write patterns that actually work with gcc
(the HP patterns "were never known to work with gcc").
Keep the old aCC patterns too.
2002-04-10 03:52:57 +00:00
Jim Ingham
ca439ad26a
2002-04-04 Jim Ingham <jingham@apple.com>
...
* valarith.c (find_size_for_pointer_math): New function, either returns
the size for a pointer's target, returns 1 for void *, or errors for
incomplete types.
(value_add, value_sub): use find_size_for_pointer_math.
2002-04-10 00:11:51 +00:00
gdbadmin
070ccb2d01
*** empty log message ***
2002-04-10 00:00:04 +00:00
Daniel Jacobowitz
2f2893d916
2002-04-09 Daniel Jacobowitz <drow@mvista.com>
...
* linux-low.c (linux_look_up_symbols): New hook.
(linux_target_ops): Add linux_look_up_symbols.
* remote-utils.c (decode_address): New function.
(look_up_one_symbol): New function.
* server.c (handle_query): Call target look_up_symbols hook.
* server.h (look_up_one_symbol): Add prototype.
* target.h (struct target_ops): Add look_up_symbols hook.
2002-04-09 23:52:06 +00:00
Daniel Jacobowitz
d64b884136
2002-04-09 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/server.h: Include <string.h> if HAVE_STRING_H.
* ChangeLog: Correct paths in last ChangeLog entry.
2002-04-09 22:58:00 +00:00
Daniel Jacobowitz
2ec06d2e41
2002-04-09 Daniel Jacobowitz <drow@mvista.com>
...
* linux-low.h: Remove obsolete prototypes.
(struct linux_target_ops): New.
(extern the_low_target): New.
* linux-low.c (num_regs, regmap): Remove declarations.
(register_addr): Use the_low_target explicitly.
(fetch_register): Likewise.
(usr_fetch_inferior_registers): Likewise.
(usr_store_inferior_registers): Likewise.
* linux-arm-low.c (num_regs): Remove.
(arm_num_regs): Define.
(arm_regmap): Renamed from regmap, made static.
(arm_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(arm_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-i386-low.c (num_regs): Remove.
(i386_num_regs): Define.
(i386_regmap): Renamed from regmap, made static.
(i386_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(i386_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-ia64-low.c (num_regs): Remove.
(ia64_num_regs): Define.
(ia64_regmap): Renamed from regmap, made static.
(ia64_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(ia64_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-m68k-low.c (num_regs): Remove.
(m68k_num_regs): Define.
(m68k_regmap): Renamed from regmap, made static.
(m68k_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(m68k_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-mips-low.c (num_regs): Remove.
(mips_num_regs): Define.
(mips_regmap): Renamed from regmap, made static.
(mips_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(mips_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-ppc-low.c (num_regs): Remove.
(ppc_num_regs): Define.
(ppc_regmap): Renamed from regmap, made static.
(ppc_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(ppc_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-s390-low.c (num_regs): Remove.
(s390_num_regs): Define.
(s390_regmap): Renamed from regmap, made static.
(s390_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(s390_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-sh-low.c (num_regs): Remove.
(sh_num_regs): Define.
(sh_regmap): Renamed from regmap, made static.
(sh_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(sh_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-x86-64-low.c (x86_64_regmap): Renamed from regmap.
(the_low_target): New.
2002-04-09 22:44:43 +00:00
Michael Snyder
80f8a6eba5
2002-04-05 Michael Snyder <msnyder@redhat.com>
...
* breakpoint.c (clear_command): Rewrite middle section to
combine two loops with identical control conditions.
Add a cleanup to eliminate a memory leak.
2002-04-09 22:33:25 +00:00
Andrew Cagney
96cb11df6d
* frame.c (read_relative_register_raw_bytes_for_frame): Do not
...
override FP_REGNUM with frame->fp. Update copyright.
* parse.c (num_std_regs, std_regs): Delete.
(target_map_name_to_register): Do not search std_regs. Update
function description.
* parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete
declarations. Update copyright.
Fix PR gdb/251.
2002-04-09 22:14:39 +00:00
Daniel Jacobowitz
c3a3ccc760
2002-04-09 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/Makefile.in: Add stamp-h target.
* gdbserver/configure.in: Create stamp-h.
* gdbserver/configure: Regenerated.
2002-04-09 21:25:29 +00:00
Daniel Jacobowitz
ce3a066d93
2002-04-09 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/inferiors.c: New file.
* gdbserver/target.c: New file.
* gdbserver/target.h: New file.
* gdbserver/Makefile.in: Add target.o and inferiors.o. Update
dependencies.
* gdbserver/linux-low.c (inferior_pid): New static variable,
moved from server.c.
(linux_create_inferior): Renamed from create_inferior.
Call add_inferior. Return 0 on success instead of a PID.
(linux_attach): Renamed from myattach.
(linux_kill): Renamed from kill_inferior. Call clear_inferiors ().
(linux_thread_alive): Renamed from mythread_alive.
(linux_wait): Renamed from mywait. Call clear_inferiors () if the
child dies.
(linux_resume): Renamed from myresume. Add missing ``return 0''.
(regsets_store_inferior_registers): Correct error message.
Add missing ``return 0''.
(linux_fetch_registers): Renamed from fetch_inferior_registers.
(linux_store_registers): Renamed from store_inferior_registers.
(linux_read_memory): Renamed from read_inferior_memory.
(linux_write_memory): Renamed from write_inferior_memory.
(linux_target_ops): New structure.
(initialize_low): Call set_target_ops ().
* gdbserver/remote-utils.c (unhexify): New function.
(hexify): New function.
(input_interrupt): Send signals to ``signal_pid''.
* gdbserver/server.c (inferior_pid): Remove.
(start_inferior): Update create_inferior call.
(attach_inferior): Call add_inferior.
(handle_query): New function.
(main): Call handle_query for `q' packets.
* gdbserver/server.h: Include "target.h". Remove obsolete prototypes.
Add prototypes for "inferiors.c", "target.c", hexify, and unhexify.
2002-04-09 21:17:45 +00:00
Daniel Jacobowitz
0729219dab
2002-04-09 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury
dependencies.
* gdbserver/configure.in: Check for <string.h>
* gdbserver/configure: Regenerate.
* gdbserver/config.in: Regenerate.
* gdbserver/gdbreplay.c: Include needed system headers.
(remote_open): Remove strchr prototype.
* gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS.
* gdbserver/regcache.c (supply_register): Change buf argument to const void *.
(supply_register_by_name): Likewise.
(collect_register): Change buf argument to void *.
(collect_register_by_name): Likewise.
* gdbserver/regcache.h: Add missing prototypes.
* gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa.
* gdbserver/server.c (handle_query): New function.
(attached): New static variable, moved out of main.
(main): Quiet longjmp clobber warnings.
* gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes.
* gdbserver/utils.c (error): Remove NORETURN.
(fatal): Likewise.
2002-04-09 21:11:35 +00:00
Daniel Jacobowitz
97658e92df
2002-04-09 Daniel Jacobowitz <drow@mvista.com>
...
* symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer
after the last symbol in a block.
2002-04-09 20:51:33 +00:00
Daniel Jacobowitz
2d1676a068
2002-04-09 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.base/attach.exp: Correct target board test.
2002-04-09 20:48:45 +00:00
Pierre Muller
6044e3ebce
2002-04-09 Pierre Muller <muller@ics.u-strasbg.fr>
...
* p-exp.y (yylex): Handle also the fact that is_a_field_of_this
is non zero as a found symbol.
2002-04-09 10:52:41 +00:00
Andrew Cagney
0406ec40ea
* findvar.c: Include "builtin-regs.h".
...
(value_of_register): Call value_of_builtin_reg when applicable.
* parse.c: Include "builtin-regs.h" and "gdb_assert.h".
(target_map_name_to_register): Call
builtin_reg_map_name_to_regnum.
* Makefile.in (SFILES): Add builtin-regs.c and std-regs.c.
(COMMON_OBS): Add builtin-regs.o and std-regs.o.
(builtin_regs_h): Define.
(builtin-regs.o): New target.
(findvar.o): Add $(builtin_regs_h).
* builtin-regs.c, builtin-regs.h: New files.
* std-regs.c: New file.
Partial fix for PR gdb/251.
2002-04-09 03:06:14 +00:00
Kevin Buettner
56a6dfb9de
* rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn;
...
it's no longer required.
2002-04-09 02:26:10 +00:00
Andrew Cagney
3a808432dd
* Makefile.in (gdbtk-wrapper.o): Add missing dependencies.
2002-04-09 01:52:57 +00:00
Kevin Buettner
7c40d5414c
* rs6000-tdep.c (rs6000_software_single_step): Use
...
rs6000_breakpoint_from_pc() to fetch breakpoint instruction
and size. Use target_insert_breakpoint() and
target_remove_breakpoint() to insert and remove breakpoints
instead of explicit memory reads and writes.
2002-04-09 01:41:46 +00:00
Kevin Buettner
cc9836a8aa
* config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
...
* rs6000-tdep.c (rs6000_push_arguments): Eliminate
ELF_OBJECT_FORMAT ifdef.
2002-04-09 00:53:28 +00:00
Kevin Buettner
7495d1dc3f
From Jimi X <jimix@watson.ibm.com>:
...
* rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn().
2002-04-09 00:10:09 +00:00
gdbadmin
e8969f3538
*** empty log message ***
2002-04-09 00:00:33 +00:00
Kevin Buettner
4288e83618
From Jimi X <jimix@watson.ibm.com>:
...
* rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro
definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET.
2002-04-08 22:56:46 +00:00
Michael Chastain
3a63e3f9b9
2002-04-08 Michael Chastain <mec@shout.net>
...
* gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
in a const method. Add some xfail and fail cases for configurations
that do not emit the "const ...".
2002-04-08 22:43:15 +00:00
Mark Kettenis
a4e4e50196
* fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions):
...
s/asprintf/xasprintf/.
(fbsd_make_corefile_notes): s/strdup/xstrdup/.
2002-04-08 21:53:00 +00:00
Michael Chastain
f18dabd22e
2002-04-07 Michael Chastain <mec@shout.net>
...
* gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
Accept "A * const" and "const A * const" as type of "this".
Fix spelling of getFunky throughout. Make messages uniform.
2002-04-08 07:25:37 +00:00
Elena Zannoni
27cdacdbd0
2002-04-07 Elena Zannoni <ezannoni@redhat.com>
...
* mi-cmd-disas.c: Run through indent.
2002-04-08 00:43:22 +00:00
Elena Zannoni
8f0eea0e54
2002-04-07 Elena Zannoni <ezannoni@redhat.com>
...
* mi-cmd-disas.c (dump_insns): New function.
(do_mixed_source_and_assembly): New function.
(do_assembly_only): New function.
(do_disassembly): New function.
(mi_cmd_disassemble): Rewrite using smaller, more modular
functions.
2002-04-08 00:38:10 +00:00
Elena Zannoni
0fcddd82b6
2002-04-07 Elena Zannoni <ezannoni@redhat.com>
...
Work around for PR gdb/285:
* gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2002-04-08 00:01:06 +00:00
gdbadmin
bccbc969e1
*** empty log message ***
2002-04-08 00:00:32 +00:00
Elena Zannoni
16a8534aff
2002-04-07 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.asm/asm-source.exp: Build symbolic link to arch specific
instructions file at run time instead of configure time.
Sometimes we run the test in a directory that is not the one we
configured in.
* gdb.asm/configure.in: Delete creation of symlink.
* gdb.asm/configure: Regenerate.
2002-04-07 23:57:23 +00:00
Elena Zannoni
7aa83cacfa
2002-04-07 Elena Zannoni <ezannoni@redhat.com>
...
* remote-e7000.c (write_small, e7000_read_inferior_memory,
e7000_read_inferior_memory_large, e7000_insert_breakpoint,
e7000_remove_breakpoint): Use paddr_nz() to print addresses.
2002-04-07 23:32:40 +00:00
Andrew Cagney
006defbaa8
I believe Jeff Law denies responsability for this one:
...
* config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork.
* config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork.
* config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork.
Work-around for PR gdb/366.
2002-04-07 22:34:31 +00:00
Elena Zannoni
cf1fcca124
2002-04-07 Elena Zannoni <ezannoni@redhat.com>
...
* sh-tdep.c (sh_fp_frame_init_saved_regs,
sh_nofp_frame_init_saved_regs): Use alloca() for 'where'
information.
2002-04-07 22:13:20 +00:00
Andrew Cagney
3f289e6fd4
* MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
...
maintainer.
2002-04-07 21:22:19 +00:00
Andrew Cagney
129188f6b2
* README (Reporting Bugs in GDB): Document the bug web page as the
...
prefered way of submitting bugs.
Fix PR gdb/402.
* gdb.texinfo (Bug Reporting): Document that the web is the
prefered way of submitting bug reports.
(Bug Reporting): Delete the s-mail address as the last resort.
2002-04-07 19:09:58 +00:00
Andrew Cagney
1200cd6e7e
* gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of
...
-1. Update comment.
* gdbarch.h, gdbarch.c: Re-generate.
2002-04-07 02:16:46 +00:00
gdbadmin
2bb5238aee
*** empty log message ***
2002-04-07 00:00:33 +00:00
Andreas Schwab
2853c33c33
* m68klinux-nat.c (fill_fpregset): Properly pass address of
...
buffer to regcache_collect.
2002-04-06 23:42:15 +00:00
Andrew Cagney
c2169756a8
* gdbarch.sh (PS_REGNUM): Add. Document. Default to -1.
...
* gdbarch.c, gdbarch.h: Re-generate.
2002-04-06 20:50:10 +00:00
Andrew Cagney
25f1b00810
* symtab.c (lookup_symtab): Remove ``const'' from ``rp''
...
declaration. Fix -Werror.
2002-04-06 18:28:20 +00:00
Daniel Jacobowitz
6c1e5d11fe
Correct bad checkin (missing semicolon somehow)
2002-04-06 03:07:59 +00:00
Daniel Jacobowitz
5926342628
2002-04-05 Daniel Jacobowitz <drow@mvista.com>
...
* gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap.
* gdbarch.c: Regenerate.
2002-04-06 02:39:10 +00:00
Michael Snyder
f5db4da3d7
2002-04-05 Michael Snyder <msnyder@redhat.com>
...
* cli/cli-dump.c (restore_section_callback): Use paddr_nz.
2002-04-06 01:52:34 +00:00
H.J. Lu
ad3dcc5cf2
2002-04-05 H.J. Lu (hjl@gnu.org)
...
* solib-svr4.c (bkpt_names): Add "__start".
2002-04-06 01:51:35 +00:00
Andrew Cagney
f32e7a74f7
* sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
...
as test for 64 bit target.
2002-04-06 00:19:44 +00:00
Andrew Cagney
8227c0ffb1
* h8500-tdep.c (h8500_write_fp): Delete function.
...
* dwarf2cfi.c (cfi_write_fp): Document as not used.
* mips-tdep.c (mips_gdbarch_init): Do not set write_fp.
* ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp.
* rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp.
* s390-tdep.c (s390_gdbarch_init): Do not set write_fp.
(s390_write_fp):
* sh-tdep.c (sh_gdbarch_init): Do not set write_fp.
* x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp.
* d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp.
(d10v_write_fp): Delete function.
* inferior.h (write_fp, generic_target_write_fp): Delete
declarations.
* regcache.c (generic_target_write_fp): Delete function.
(write_fp): Delete function.
* gdbarch.sh (TARGET_WRITE_FP): Delete.
* gdbarch.h, gdbarch.c: Regenerate.
* config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro.
* config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro.
(sparc64_write_fp): Delete declaration.
* config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro.
(h8500_write_fp): Delete declaration.
2002-04-06 00:02:52 +00:00
gdbadmin
6553d8d2ab
*** empty log message ***
2002-04-06 00:00:03 +00:00
Andrew Cagney
2757dd8645
* sparc-tdep.c (sparc64_write_fp): Delete.
...
(sparc_push_dummy_frame): Replace write_fp call with code to store
the FP directly.
(sparc_gdbarch_init): Do not initialize write_fp.
2002-04-05 23:38:07 +00:00
Kevin Buettner
c69255e19c
* rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
...
clause.
2002-04-05 22:36:32 +00:00
Jim Blandy
ae767bfb78
gdb/ChangeLog:
...
* stack.c (get_selected_block): Add new argument `addr_in_block',
used to return the exact code address we used to select the block,
not just the block.
* blockframe.c (get_frame_block, get_current_block): Same.
* frame.h (get_frame_block, get_current_block,
get_selected_block): Update declarations.
* linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c,
linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed.
gdb/mi/ChangeLog:
* mi-cmd-stack.c (list_args_or_locals): Pass new arg to
get_frame_block. (See entry in gdb/ChangeLog.)
2002-04-05 22:04:43 +00:00
Michael Snyder
84d2ac95e4
2002-04-05 Michael Snyder <msnyder@redhat.com>
...
* breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in
warning message.
2002-04-05 19:16:15 +00:00
Joel Brobecker
24181d81cc
Document the addition of the new xfullpath.exp testcase.
2002-04-05 16:45:04 +00:00
Joel Brobecker
989d314b85
New testcase.
2002-04-05 16:43:57 +00:00
Joel Brobecker
596aa3bf50
Document changes relative to the new xfullpath function.
2002-04-05 16:43:14 +00:00
Joel Brobecker
f079a2e599
(lookup_symtab): Use the new xfullpath function, in order to be able to
...
match a filename with either the real filename, or the name of any
symbolic link to this file.
(lookup_partial_symtab): Ditto.
2002-04-05 16:42:04 +00:00
Joel Brobecker
a89f66e45b
(openp): Use xfullpath in place of gdb_realpath to avoid resolving the
...
basename part of filenames when the associated file is a symbolic link.
This fixes a potential inconsistency between the filenames known to GDB
and the filenames it prints in the annotations.
2002-04-05 16:40:45 +00:00
Joel Brobecker
08b204d1d1
(xfullpath): Add declaration.
2002-04-05 16:39:36 +00:00
Joel Brobecker
303c8ebdfe
(xfullpath): New function.
2002-04-05 16:39:11 +00:00
Elena Zannoni
46fe161328
2002-04-05 Elena Zannoni <ezannoni@redhat.com>
...
* mi-cmd-disas.c (mi_cmd_disassemble): Use TARGET_PRINT_INSN
instead of tm_print_insn.
Update copyright year.
2002-04-05 15:59:23 +00:00
Daniel Jacobowitz
7cdb710751
2002-04-01 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.asm/Makefile.in: Correct dependencies.
* gdb.asm/powerpc.inc: New file.
* gdb.asm/asm-source.exp: Add PowerPC.
* gdb.asm/configure.in: Likewise.
* gdb.asm/configure: Regenerated.
2002-04-05 02:48:33 +00:00
Daniel Jacobowitz
a7d17088c5
2002-04-04 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.base/relocate.exp: New file.
* gdb.base/relocate.c: New file.
2002-04-05 02:45:48 +00:00
Michael Snyder
c02f570307
2002-04-04 Michael Snyder <msnyder@redhat.com>
...
* breakpoint.c: Add support for hardware breakpoints in overlays.
(overlay_events_enabled): New state variable.
(insert_breakpoints): Use overlay_events_enabled to decide
whether to attempt to set a breakpoint at the overlay load addr.
Handle bp_hardware_breakpoint as well as bp_breakpoint.
(remove_breakpoint): Use overlay_events_enabled to decide
whether breakpoints need to be removed from overlay load addr.
Handle bp_hardware_breakpoint as well as bp_breakpoint.
(bpstat_stop_status): Handle bp_hardware_breakpoint in overlays.
(create_overlay_event_breakpoint, enable_overlay_breakpoints,
disable_overlay_breakpoints): Update overlay_events_enabled.
2002-04-05 02:35:26 +00:00
Fred Fish
cd72150368
2002-04-04 Fred Fish <fnf@redhat.com>
...
* gdb.base/step-test.exp: Update comment regarding stopping in
memcpy/bcopy calls inserted as part of the compiler runtime.
2002-04-05 00:30:09 +00:00
gdbadmin
c82891d613
*** empty log message ***
2002-04-05 00:00:03 +00:00
Daniel Jacobowitz
5fb290d7a3
2002-04-04 Daniel Jacobowitz <drow@mvista.com>
...
* dwarf2read.c (struct function_range): New.
(cu_first_fn, cu_last_fn, cu_cached_fn): New.
(check_cu_functions): New.
(read_file_scope): Initialize global function lists.
Call dwarf_decode_line after processing children.
(read_func_scope): Add to global function list.
(dwarf_decode_lines): Call check_cu_functions everywhere
record_line is called. Call record_line with a linenumber
of 0 to mark sequence ends.
2002-04-04 22:26:43 +00:00
Daniel Jacobowitz
b0c0ea31a1
2002-04-04 Daniel Jacobowitz <drow@mvista.com>
...
* mi-cmd-disas.c (mi_cmd_disassemble): Skip end-of-function
markers in the line table.
2002-04-04 20:23:36 +00:00
Michael Snyder
b22ad7a776
2002-04-04 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2002-04-04 19:48:09 +00:00
Michal Ludvig
7b3fabf05e
* x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI change sync
2002-04-04 13:18:59 +00:00
Jim Blandy
bce58c0993
* configure.in: Call AC_C_INLINE.
...
* configure: Regenerated.
2002-04-04 00:12:41 +00:00
gdbadmin
ab66ab6bce
*** empty log message ***
2002-04-04 00:00:02 +00:00
Daniel Jacobowitz
5f279fa6a9
2002-04-03 Daniel Jacobowitz <drow@mvista.com>
...
* lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
(gdb_expect): Remove $notransfer hack.
2002-04-03 16:17:11 +00:00
Daniel Jacobowitz
dd0fd3cee7
2002-04-02 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.c++/classes.exp ("calling method for small class"): Match
updated register output.
2002-04-03 01:35:23 +00:00
gdbadmin
40954583a1
*** empty log message ***
2002-04-03 00:00:33 +00:00
gdbadmin
7d798d03fe
*** empty log message ***
2002-04-02 00:00:03 +00:00
Daniel Jacobowitz
2fccf04a44
2002-04-01 Daniel Jacobowitz <drow@mvista.com>
...
* rs6000-tdep.c: Change #include of "bfd/libcoff.h"
and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".
2002-04-01 05:58:45 +00:00
gdbadmin
4a36419c3c
*** empty log message ***
2002-04-01 00:00:32 +00:00
Mark Kettenis
a5941fbf4a
* NEWS: Mention gcore support on FreeBSD/i386.
2002-03-31 17:53:00 +00:00
Mark Kettenis
a90cd31de1
* fbsd-proc.c: New file.
...
* config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define.
* config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.
2002-03-31 17:47:17 +00:00
Mark Kettenis
2d1bfe2ed3
* lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
...
while statement.
2002-03-31 15:10:38 +00:00
gdbadmin
651307b367
*** empty log message ***
2002-03-31 00:00:03 +00:00
Daniel Jacobowitz
1e50cda1d1
2002-03-30 Daniel Jacobowitz <drow@mvista.com>
...
Fix PR gdb/452
* gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
when finished. Make gdb_file_cmd send "exec-file" when
appropriate.
2002-03-30 23:47:18 +00:00
Daniel Jacobowitz
24015922ff
2002-03-30 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.base/attach.exp: Remove extra setup_xfail.
2002-03-30 18:54:38 +00:00
gdbadmin
03c7bc89c0
*** empty log message ***
2002-03-30 00:00:03 +00:00
Jim Blandy
9eb6e5a1a5
* cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
...
unescaped newlines in string literals, but newer ones don't. So
escape them.
2002-03-29 23:34:43 +00:00
Michael Snyder
89743e04ff
2002-03-26 Michael Snyder <msnyder@redhat.com>
...
Andrew Cagney <cagney@redhat.com>
* cli/cli-dump.c: New file. Dump memory to file,
restore file to memory.
* cli/cli-dump.h: New file.
* Makefile.in: Add rules, dependencies for cli-dump.o.
* NEWS: Mention new commands.
2002-03-29 01:32:20 +00:00
Michael Snyder
f02df580ce
2002-03-26 Michael Snyder <msnyder@redhat.com>
...
Andrew Cagney <cagney@redhat.com>
* cli/cli-dump.c: New file. Dump memory to file,
restore file to memory.
* cli/cli-dump.h: New file.
* Makefile.in: Add rules, dependencies for cli-dump.o.
2002-03-29 01:22:41 +00:00
Michael Snyder
16d9dec687
2002-03-27 Michael Snyder <msnyder@redhat.com>
...
* gdb.texinfo: Document new commands dump, append, and restore.
2002-03-29 01:19:37 +00:00
Michael Snyder
dd7dfd64a3
2002-03-26 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/default.exp: Add tests for dump, append, and restore.
* gdb.base/help.exp: Add tests for dump, append, and restore.
* gdb.base/dump.exp: New file, test dump, append and restore.
* gdb.base/dump.c: New file.
2002-03-29 01:19:11 +00:00
Michael Snyder
109f874e46
2002-03-28 Michael Snyder <msnyder@redhat.com>
...
* symfile.c (symbol_file_add): Move test for null symbols to later.
2002-03-29 01:09:27 +00:00
gdbadmin
35ad82f95b
*** empty log message ***
2002-03-29 00:00:04 +00:00
Andrew Cagney
520f6ade4a
From veksler at il.ibm.com:
...
* utils.c (gdb_realpath): If canonicalize_file_name fails, return
the xstrduped original path.
Fix PR gdb/417.
2002-03-28 03:43:37 +00:00
Michael Snyder
48b2f8d70e
2002-03-27 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/help.exp: Modify expect strings to reflect
clean-ups in help messages.
2002-03-28 01:36:23 +00:00
Michael Snyder
d4654627e1
2002-03-27 Michael Snyder <msnyder@redhat.com>
...
* breakpoint.c (_initialize_breakpoint): Clean up help string.
* infcmd.c (_initialize_infcmd): Ditto.
* language.c (_initialize_language): Ditto.
* symfile.c (_initialize_symfile): Ditto.
* top.c (_init_main): Ditto.
* cli/cli-cmds.c (init_cli_cmds): Ditto.
2002-03-28 01:35:56 +00:00
Elena Zannoni
6be8bc0c92
2002-03-27 Elena Zannoni <ezannoni@redhat.com>
...
* rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec
vector registers handling.
(skip_prologue): Handle new AltiVec instructions. Fill in new
fields of frame data.
(frame_get_saved_regs): Fill in information for AltiVec registers.
2002-03-28 00:48:41 +00:00
gdbadmin
96b0714f37
*** empty log message ***
2002-03-28 00:00:32 +00:00
Jim Blandy
12af6855fb
* symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into
...
a function; leave this macro here to invoke that function.
(symbol_init_mangled_name): Declaration for that function.
* symtab.c (symbol_init_mangled_name): New function.
2002-03-27 23:10:24 +00:00
Andrew Cagney
dc6728652c
s/strerror/safe_strerror/
2002-03-27 21:35:35 +00:00
Andreas Schwab
d96429cda9
* event-top.c (command_line_handler): Remove useless if.
2002-03-27 21:20:15 +00:00
Andrew Cagney
9ae8b82c04
* gdbint.texinfo (Releasing GDB): Revise the section `Before the
...
Branch'.
2002-03-27 21:16:33 +00:00
Andreas Jaeger
7e336ba170
* dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
...
comment.
2002-03-27 14:32:08 +00:00
Michal Ludvig
de220d0ff6
* x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
...
(x86_64_num_regs, x86_64_num_gregs): Added extern variables.
* x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS.
(x86_64_linux_dr_get_status, supply_gregset),
(fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs.
* x86-64-tdep.c (x86_64_register_raw_size_table): Delete.
(x86_64_register_info_table): Add.
(X86_64_NUM_REGS, X86_64_NUM_GREGS): Add.
(x86_64_register_raw_size, x86_64_register_virtual_type),
(x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new
general x86_64_register_info_table.
(i386_gdbarch_init): gdbarch_register_bytes is now set
dynamicaly during initialization.
* regformats/reg-x86-64.dat: Synced with changes to registers above.
* gdbserver/linux-x86-64-low.c: Ditto.
2002-03-27 10:21:29 +00:00
Daniel Jacobowitz
0e98d0a751
2002-03-27 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/server.c (main): Call target_signal_to_host_p
and target_signal_to_host on signals received from the remote.
* gdbserver/remote-utils.c (prepare_resume_reply): Call
target_signal_from_host on signals sent to the remote.
* gdbserver/server.h: Add prototypes. Include "gdb/signals.h".
* gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}.
2002-03-27 05:15:49 +00:00
Daniel Jacobowitz
3130066b6c
2002-03-27 Daniel Jacobowitz <drow@mvista.com>
...
* signals/signals.c: Include "server.h" in gdbserver build.
(target_signal_from_name): Don't use STREQ.
(_initialize_signals): Likewise. Don't include function in
gdbserver build.
2002-03-27 05:12:35 +00:00
Daniel Jacobowitz
9aedf4f42a
2002-03-27 Daniel Jacobowitz <drow@mvista.com>
...
* signals.c: Moved to...
* signals/signals.c: Here.
* Makefile (signals.o): Update.
2002-03-27 05:10:40 +00:00
gdbadmin
66671b450f
*** empty log message ***
2002-03-27 00:22:35 +00:00
Jeff Law
3fa41cdbae
* somread.c (som_symtab_read): Remove some commented out code and
...
updated related comments. Do not set the minimal symbol table to
mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope
in a dynamic executable.
* hppa-tdep.c (find_proc_framesize): Sanely handle the case
where we are unable to find the minimal symbol for the given
PC value.
2002-03-27 00:21:51 +00:00
Fred Fish
05b4d525a6
2002-03-26 Fred Fish <fnf@redhat.com>
...
* gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
have debugging info for those functions and the compiler uses them
internally to copy structs around.
2002-03-26 23:02:30 +00:00
Fred Fish
d7679631e8
2002-03-26 Fred Fish <fnf@redhat.com>
...
* gdb.base/list.exp: Revert the change made yesterday and add note
about why we don't list the default lines for remote targets.
2002-03-26 14:54:27 +00:00
Michael Snyder
523ac3f9a3
2002-03-25 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2002-03-26 05:10:26 +00:00
Fred Fish
754b2b8dc7
2002-03-25 Fred Fish <fnf@redhat.com>
...
* gdb.base/list.exp: This test works on remote targets so remove
the short circuit for remote targets. Update copyright.
2002-03-26 00:36:07 +00:00
Fred Fish
629b007a94
Sigh, should have updated the copyright date in the
...
change I just checked in. Fix it here.
2002-03-26 00:17:38 +00:00
Fred Fish
33c3e192bd
2002-03-25 Fred Fish <fnf@redhat.com>
...
* gdb.base/attach.exp: Fix logic error that was suppressing this
test for all non hppa*-*-hpux* targets, instead of the hp target.
Move comments closer to the suppression point. Also now need to
check that we are running natively.
2002-03-26 00:13:22 +00:00
gdbadmin
2f766f6c06
*** empty log message ***
2002-03-26 00:00:03 +00:00
Michael Snyder
ee677e8d79
2002-03-25 Jeff Law (law@redhat.com)
...
* linux-proc.c (read_mapping): Scan up to end of line for filename.
2002-03-25 19:47:41 +00:00
Michal Ludvig
e76e1718eb
* x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.
2002-03-25 07:59:16 +00:00
gdbadmin
35d250b3e2
*** empty log message ***
2002-03-25 00:00:33 +00:00
Andrew Cagney
18a642a148
* command.h: Update copyright.
...
(struct cmd_list_element): Replace definition with opaque
declaration.
(enum cmd_types): Document that it will eventually be moved to
cli/cli-decode.h
(CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
(MALLOCED_REPLACEMENT): Delete macro.
* Makefile.in (cli_decode_h): Add $(command_h).
(top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
* top.c: Include "cli/cli-decode.h".
* completer.c: Include "cli/cli-decode.h".
* maint.c: Include "cli/cli-decode.h".
* cli/cli-decode.h: Include "command.h".
(enum command_class): Delete.
(enum cmd_types): Comment out.
(enum cmd_auto_boolean): Delete.
(enum var_types): Delete.
2002-03-24 00:40:35 +00:00
Andrew Cagney
b2875cc0a2
* cli/cli-decode.c: Include "gdb_assert.h".
...
(add_set_or_show_cmd): New static function.
(add_set_cmd): Rewrite. Use add_set_or_show_cmd.
(add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy
all fields, such as func, from the set command.
2002-03-24 00:24:35 +00:00
gdbadmin
c78a341714
*** empty log message ***
2002-03-24 00:00:03 +00:00
Andrew Cagney
3b45974e92
* MAINTAINERS (sh-elf): Change warning flag to -w.
2002-03-23 18:52:46 +00:00
Andrew Cagney
823ca731ed
* defs.h (error): Add printf format attribute.
...
* thread-db.c (thread_from_lwp): Fix error format string.
* stack.c (parse_frame_specification): Ditto.
* cli/cli-decode.c (undef_cmd_error): Ditto.
* scm-lang.c (scm_lookup_name): Ditto.
* tracepoint.c (trace_error): Ditto.
* remote-utils.c (usage): Ditto.
* remote.c (compare_sections_command): Ditto.
Fix PR gdb/328.
2002-03-23 17:38:13 +00:00
Andrew Cagney
0e10145828
* gdbtypes.c (append_composite_type_field): New function.
...
(init_composite_type): New function.
* gdbtypes.h (append_composite_type_field): Declare.
(init_composite_type): Ditto.
2002-03-23 01:24:54 +00:00
Michael Snyder
882c8f02fb
2002-03-22 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/default.exp: Add test for gcore. Update copyright.
* gdb.base/help.exp: Add test for gcore. Update copyright.
2002-03-23 00:05:29 +00:00
Michael Snyder
d43e73eedd
2002-03-22 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/default.exp: Add test for gcore.
* gdb.base/help.exp: Add test for gcore.
2002-03-23 00:03:01 +00:00
gdbadmin
d8a9ce69b0
*** empty log message ***
2002-03-23 00:00:04 +00:00
Elena Zannoni
8e0662df17
2002-03-22 Elena Zannoni <ezannoni@redhat.com>
...
* ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
function.
* ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
* rs6000-tdep.c (rs6000_gdbarch_init): Use different
structure returning convention for SYSV ABI case, but not
for GNU/Linux, FreeBSD, or NetBSD.
2002-03-22 21:58:16 +00:00
Daniel Jacobowitz
3121eff097
2002-03-22 Daniel Jacobowitz <drow@mvista.com>
...
* symtab.h (lookup_block_symbol): Add mangled_name argument
to prototype.
* symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
with new mangled_name argument.
* linespec.c (decode_line_1): Likewise.
* valops (value_of_this): Likewise.
* symtab.c (lookup_transparent_type): Likewise.
(lookup_symbol_aux): Likewise. Accept new mangled_name argument.
(lookup_symbol): If we are given a mangled name, pass it down
to lookup_symbol_aux.
(lookup_block_symbol): If we are given a mangled name to check
against, only return symbols which match it.
2002-03-22 18:57:08 +00:00
Christopher Faylor
349b409f68
* win32-nat.c (child_create_inferior): Check for proper shell to use here, in
...
case the user changes it on the fly.
(_initialize_inftarg): Remove shell path considerations.
2002-03-22 05:03:22 +00:00
Elena Zannoni
2a873819ae
2002-03-21 Elena Zannoni <ezannoni@redhat.com>
...
* rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
for gdbarch_max_register_raw_size and max_register_virtual_size.
Adjust copyright year.
2002-03-22 00:19:02 +00:00
gdbadmin
b792a6ddeb
*** empty log message ***
2002-03-22 00:00:34 +00:00
Daniel Jacobowitz
a1b9830cba
2002-03-21 Daniel Jacobowitz <drow@mvista.com>
...
* dbxread.c (process_one_symbol): Extend the first N_SLINE
in a function to cover the entire beginning of the function
as well if it does not already.
2002-03-21 19:48:54 +00:00
Tom Rix
8b5790f2ba
Rename ptrace32 and ptrace64 to fix build problem with Aix 5.1
2002-03-21 13:52:57 +00:00
Martin Hunt
bdbe574731
2002-03-20 Martin M. Hunt <hunt@redhat.com>
...
* regcache.c (_initialize_regcache): No need to call
build_regcache() at this time; it gets called whenever
the gdbarch changes.
2002-03-21 02:13:05 +00:00
Martin Hunt
373fe97f7f
2002-03-20 Martin M. Hunt <hunt@redhat.com>
...
* gdbserver/remote-utils.c (remote_open): Don't call
getprotobyname, we're all using TCP here so just use
IPPROTO_TCP.
* gdbserver/gdbreplay.c (remote_open): Ditto.
2002-03-21 02:11:03 +00:00
David O'Brien
7781cd62b4
2002-03-20 David O'Brien <obrien@FreeBSD.org>
...
* sparc-nat.c: Include sys/param.h where possible.
Approved by: Michael Snyder <msnyder@redhat.com>
Message-ID: <3C98FF43.46ABDC1C@redhat.com>
2002-03-21 02:03:13 +00:00
Daniel Jacobowitz
f65ca430eb
2002-03-20 Daniel Jacobowitz <drow@mvista.com>
...
Fix PR gdb/422.
* c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
* dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
complex types.
* stabsread.c (rs6000_builtin_type): Likewise.
(read_sun_floating_type): Likewise.
2002-03-21 00:53:44 +00:00
gdbadmin
ae5742ba51
*** empty log message ***
2002-03-21 00:00:04 +00:00
gdbadmin
502d32d00f
*** empty log message ***
2002-03-20 00:00:08 +00:00
Peter Schauer
0c86755622
* stabsread.c (read_member_functions): Remove skip code for duplicate
...
constructor/destructor methods. Use standard parsing for these
methods and just do not chain them to the list of methods after
parsing.
2002-03-19 20:27:04 +00:00
Alexandre Oliva
12b9c64f8d
* coffread.c: Remove redundant static declarations. Replace
...
occurrences of `PTR' with `void *'.
* elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
* top.h (quit_cover): Likewise.
* defs.h (catch_errors): Likewise.
2002-03-19 19:00:04 +00:00
Michael Snyder
75245b2419
2002-03-14 Michael Snyder <msnyder@redhat.com>
...
* symfile.c (syms_from_objfile): Return immediately if no syms.
(symbol_file_add): Return immediately if no syms.
(find_sym_fns): Return immediately if no syms.
2002-03-19 03:51:06 +00:00
Andrew Cagney
349c5d5f6c
* defs.h (XMALLOC): Define.
...
* gdb-events.sh (XMALLOC): Delete macro.
* gdb-events.c, gdb-events.h: Regenerate.
* gdbarch.sh (XMALLOC): Delete macro.
* gdbarch.c: Regenerate.
* serial.c (XMALLOC): Delete macro.
* ui-file.c (XMALLOC): Ditto.
* ser-unix.h (XMALLOC): Ditto.
* sh-tdep.c (XMALLOC): Ditto.
* ui-out.c (XMALLOC): Ditto.
* utils.c (XMALLOC): Ditto.
* i386-tdep.c (XMALLOC): Ditto.
* gdb-events.c (XMALLOC): Ditto.
* d10v-tdep.c (XMALLOC): Ditto.
* cli-out.c (XMALLOC): Ditto.
* cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
* gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
* ui-file.c, ui-out.c: Ditto.
2002-03-19 02:51:09 +00:00
Andrew Cagney
474c824023
s/@example/@smallexample/
2002-03-19 02:49:53 +00:00
Andrew Cagney
7d0766f3c3
* command.h (struct cmd_list_element): Add field context.
...
(set_cmd_context, get_cmd_context): Declare.
* cli/cli-decode.h: Ditto.
* cli/cli-decode.c (get_cmd_context): New function.
(set_cmd_context): New function.
(add_cmd): Initialize context.
Part of fixing PR gdb/145 and PR gdb/146.
2002-03-19 02:19:17 +00:00
gdbadmin
42aacdb61c
*** empty log message ***
2002-03-19 00:00:05 +00:00
Andrew Cagney
fb0ff88f8f
* gdbint.texinfo (Releasing GDB): Add section ``Versions and
...
Branches''.
2002-03-18 16:14:04 +00:00
Andrew Cagney
9bb0a4d8df
* gdbint.texinfo (Releasing GDB): Add the section``Branch Commit
...
Policy''.
2002-03-18 16:09:32 +00:00
Andrew Cagney
1868c04eba
* cli/cli-decode.c (cmd_type): New function.
...
* command.h (cmd_type): Declare.
* infrun.c (set_schedlock_func): Call function cmd_type.
* kod.c (kod_set_os): Call cmd_type.
* cris-tdep.c (cris_version_update): Use function cmd_type.
(cris_mode_update, cris_abi_update): Ditto.
2002-03-18 02:26:32 +00:00
gdbadmin
2ef7d709f8
*** empty log message ***
2002-03-18 00:00:03 +00:00
Andrew Cagney
5913bcb0f6
* command.h: (execute_cmd_post_hook): Declare.
...
(execute_cmd_pre_hook): Declare.
* cli/cli-script.c (clear_hook_in_cleanup): New function.
(execute_cmd_post_hook, execute_cmd_pre_hook): New
functions. Execute pre/post hook while ensuring that afterwords
hook_in is cleared.
* top.c (execute_command): Use execute_cmd_post_hook, and
execute_cmd_pre_hook to execute pre/post commands.
* infrun.c (normal_stop): Pass stop_command and not pre_hook to
hook_stop_stub.
(hook_stop_stub): Call execute_cmd_pre_hook.
2002-03-17 19:53:39 +00:00
Andrew Cagney
b51450c9ff
* kod.c (kod_set_os): Revert previous change. Is called by ``info
...
set'' and this leads to a core dump. Move xstrdup of
operating_system to after check that it is not NULL.
2002-03-17 19:29:37 +00:00
Andrew Cagney
8e694ecf16
* kod.c (kod_set_os): Remove unnecessary check that
...
``command->type'' is set_cmd.
2002-03-17 16:25:09 +00:00
Andrew Cagney
f66c9f11b6
* valprint.c (set_input_radix): Use input_radix.
...
(set_output_radix): Use output_radix.
(set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
isn't reverted.
2002-03-17 16:10:25 +00:00
Andrew Cagney
ee2d3b3a59
fix tipo
2002-03-17 01:32:54 +00:00
Andrew Cagney
9d01611c4c
* value.h (struct value): Delete field ``substring_addr''. Change
...
aligner fields to force_doublest_align, force_longest_align,
force_core_addr_align and force_pointer_align.
2002-03-17 01:10:15 +00:00
gdbadmin
11956ca255
*** empty log message ***
2002-03-17 00:00:04 +00:00
Peter Schauer
4156bb5348
* ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
...
to fix internal_error from ``maintenance print architecture''.
2002-03-16 21:09:33 +00:00
Peter Schauer
0e5e3ea669
* cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
...
for gcc versions after gcc-2.8.1.
2002-03-16 20:53:14 +00:00
Peter Schauer
9b013045b0
* eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
...
for method resolution. Restore adjustment of ``this'' pointer after
calling value_struct_elt, which was accidentally removed during the
HP merge.
2002-03-16 20:51:44 +00:00
Andrew Cagney
376c960019
* eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
...
value_of_register.
* findvar.c (value_of_register): Add ``frame'' parameter. Pass to
get_saved_register.
* value.h (value_of_register): Update.
2002-03-16 02:57:42 +00:00
gdbadmin
a1d4a62a41
*** empty log message ***
2002-03-16 00:00:36 +00:00
Richard Henderson
a4db0f0748
* configure.in: Detect declaration for canonicalize_file_name.
...
* utils.c (canonicalize_file_name): Declare, if needed.
(gdb_realpath): Prefer realpath if available and usable.
* config.in, configure: Rebuild.
2002-03-15 00:44:49 +00:00
gdbadmin
bd2b03193d
*** empty log message ***
2002-03-15 00:00:36 +00:00
Richard Henderson
963838355f
* dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
...
a constant array bound.
2002-03-14 22:53:35 +00:00
Richard Henderson
23b95bcbaa
Add myself to write-after-approval.
2002-03-14 22:49:17 +00:00
gdbadmin
287ac7896d
*** empty log message ***
2002-03-14 00:00:38 +00:00
Michal Ludvig
e641a1ca3d
* gdbserver/remote-util.c (remote_open): Print remote-side's
...
IP address when remote debugging over the network.
2002-03-13 20:42:16 +00:00
David O'Brien
df08bfec58
What was I thinking....
...
2002-03-12 David O'Brien <obrien@FreeBSD.org>
* config/sparc/fbsd.mh: Fix copyright.
* config/sparc/fbsd.mt: Likewise.
2002-03-13 03:20:24 +00:00
gdbadmin
703172a458
*** empty log message ***
2002-03-13 00:00:09 +00:00
gdbadmin
0fe8123114
*** empty log message ***
2002-03-12 00:00:05 +00:00
Richard Earnshaw
9a57864f61
* MAINTAINERS: Fix typo in name of gdb warnings option.
...
(x86-64): Fix formating so that this can be parsed by awk.
2002-03-11 10:37:52 +00:00
Daniel Jacobowitz
dd7bf85ea9
gdb/:
...
2002-03-10 Daniel Jacobowitz <drow@mvista.com>
* Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
* defs.h: Include "gdb/signals.h".
(enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.
include/gdb:
2002-03-10 Daniel Jacobowitz <drow@mvista.com>
* signals.h: New file, split from gdb/defs.h.
2002-03-11 00:01:11 +00:00
gdbadmin
eda2776159
*** empty log message ***
2002-03-11 00:00:04 +00:00
Michal Ludvig
33a0a2ac44
* x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
...
* x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
from x86-64-tdep.h
2002-03-10 18:16:26 +00:00
Daniel Jacobowitz
dd824b049b
2002-03-10 Daniel Jacobowitz <drow@mvista.com>
...
Don Howard <dhoward@redhat.com>
* mips-tdep.c (ST0_FR): Define.
(mips2_fp_compat): New function, temporarily disabled.
(mips_read_fp_register_single): New function.
(mips_read_fp_register_double): New function.
(mips_print_register): Use them.
(do_fp_register_row): Likewise.
2002-03-10 17:00:27 +00:00
Michael Chastain
3029f9b89c
This is a duplicate of an entry I made in testsuite/ChangeLog.
...
I overlooked that testsuite/gdb.mi/ChangeLog has its own ChangeLog.
I'm leaving the testsuite/ChangeLog entry in place (ChangeLogs are permanent),
and adding this one where it belongs.
2002-03-04 Michael Chastain <mec@shout.net>
* mi-var-cmd.exp: In test "create local variable func",
accommodate gcc v3 function signature.
* mi0-var-cmd-exp: Ditto.
2002-03-10 06:06:16 +00:00
Andrew Cagney
6a41ff5934
* MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
...
approval''.
2002-03-10 03:09:52 +00:00
gdbadmin
cbdf1c5a90
*** empty log message ***
2002-03-10 00:00:06 +00:00
gdbadmin
d39196b888
*** empty log message ***
2002-03-09 00:00:04 +00:00
Peter Schauer
4ea09c106d
* stabsread.c (read_member_functions): Fix is_stub test for
...
static member functions, improve comment.
2002-03-08 17:19:39 +00:00
gdbadmin
8d0a607a97
*** empty log message ***
2002-03-08 00:03:34 +00:00
Richard Earnshaw
6ccc741d0b
* remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
...
(mywrite, mywritec, mypause, myreadc, mygets): Likewise.
(_initialize_remote_rdi): Use add_set_boolean_cmd to register
commands that set boolean values.
(arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
(arm_rdi_resume): Always initialize PC.
(arm_rdi_open): Don't use rslt as a boolean.
(arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
(arm_rdi_fetch_registers, arm_rdi_store_registers)
(arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
(arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.
2002-03-07 15:29:53 +00:00
Fred Fish
04c12f60f9
Checked in under the "obvious fix/typo rule".
...
2002-03-06 Fred Fish <fnf@redhat.com>
* gdb.base/funcargs.c: Remove extraneous ';' character.
* gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2002-03-07 04:18:55 +00:00
gdbadmin
6ef66e32b1
*** empty log message ***
2002-03-07 00:00:37 +00:00
Alexandre Oliva
438013dfea
* configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
...
* configure: Rebuilt.
2002-03-06 21:16:00 +00:00
Stephane Carrez
70ed877417
* m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
...
(m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
2002-03-06 20:07:47 +00:00
Michal Ludvig
022cafefa1
* MAINTAINERS: Reverted misunderstood change of x86-64 maintainer.
2002-03-06 09:12:51 +00:00
Andrew Cagney
5ba2abebe7
* cli/cli-decode.c (set_cmd_completer): New function.
...
* command.h (set_cmd_completer): Declare.
* cli/cli-decode.h (set_cmd_completer): Ditto.
* breakpoint.c (_initialize_breakpoint): Use set_cmd_completer.
* cli/cli-cmds.c (init_cli_cmds): Ditto.
* win32-nat.c (_initialize_inftarg): Ditto.
* remote-rdi.c (_initialize_remote_rdi): Ditto.
* proc-api.c (_initialize_proc_api): Ditto.
* hppa-tdep.c (_initialize_hppa_tdep): Ditto.
* source.c (_initialize_source): Ditto.
* exec.c (_initialize_exec): Ditto.
* solib.c (_initialize_solib): Ditto.
* top.c (init_main): Ditto.
* tracepoint.c (_initialize_tracepoint): Ditto.
* symfile.c (_initialize_symfile): Ditto.
* printcmd.c (_initialize_printcmd): Ditto.
* infcmd.c (_initialize_infcmd): Ditto.
* corefile.c (_initialize_core): Ditto.
2002-03-06 06:28:35 +00:00
Andrew Cagney
f779ca9906
* MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.
2002-03-06 04:46:44 +00:00
Andrew Cagney
01a3934be5
* MAINTAINERS: Fix Mac OS X and Objective-C/C++.
2002-03-06 03:50:12 +00:00
gdbadmin
75d5db06a2
*** empty log message ***
2002-03-06 00:00:04 +00:00
Andrew Cagney
37057839e2
* NEWS: Update headings, 5.2 has branched.
2002-03-05 22:57:57 +00:00
Michael Chastain
b43df9952b
2002-03-04 Michael Chastain <mec@shout.net>
...
* gdb.mi/mi-var-cmd.exp: In test "create local variable func",
accommodate gcc v3 function signature.
* gdb.mi/mi0-var-cmd-exp: Ditto.
2002-03-05 19:48:18 +00:00
gdbadmin
b755794eb6
*** empty log message ***
2002-03-05 00:00:07 +00:00
Fred Fish
937f164bda
2002-03-04 Fred Fish <fnf@redhat.com>
...
* gdbint.texinfo: Fix a bunch of typos (alsways, mirrorred,
expresson, suports, dependant, trhe, perhaphs, situtations,
explictily, taged, oportunity, unfortunatly).
2002-03-04 20:38:10 +00:00
Daniel Jacobowitz
c6ecbae5ad
2002-03-04 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
(num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
(register_addr, REGISTER_RAW_SIZE): Likewise.
(usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
* gdbserver/linux-x86-64-low.c: Remove extra #endif.
2002-03-04 16:28:35 +00:00
Michal Ludvig
c200633117
* MAINTAINERS (x86-64): tagret is not broken anymore.
2002-03-04 12:25:39 +00:00
Michal Ludvig
e9f30c21b8
* MAINTAINERS (x86-64): Add myself
...
* x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
changed value_ptr -> struct value *
2002-03-04 11:08:28 +00:00
gdbadmin
12eed87b7c
*** empty log message ***
2002-03-04 00:00:03 +00:00
gdbadmin
4b401d9725
*** empty log message ***
2002-03-03 00:01:03 +00:00
gdbadmin
841ac7901d
*** empty log message ***
2002-03-02 00:00:06 +00:00
David O'Brien
768f08429b
Add FreeBSD/sparc64 to the list of "New native configurations"
2002-03-01 23:27:42 +00:00
David O'Brien
54394ac39e
2002-03-01 David O'Brien <obrien@FreeBSD.org>
...
* configure.host (sparc64-*-freebsd): Add.
* configure.tgt: Likewise.
* config/sparc/fbsd.mh: New file.
* config/sparc/fbsd.mt: Likewise.
* config/sparc/nm-fbsd.h: Likewise.
* config/sparc/tm-fbsd.h: Likewise.
2002-03-01 18:35:24 +00:00
Daniel Jacobowitz
bfe9595524
2002-03-01 Daniel Jacobowitz <drow@mvista.com>
...
* config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and
regformats/reg-s390x.dat.
2002-03-01 16:11:23 +00:00
Andrew Cagney
f33c6cbfe5
Add FIXME explaining include problem.
2002-03-01 06:19:28 +00:00
Andrew Cagney
5ecaa7ddac
Move JTC to to past maintainers.
2002-03-01 03:30:59 +00:00
Michael Chastain
2a251cc220
2002-02-28 Michael Chastain <mec@shout.net>
...
* MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs .
2002-03-01 01:55:35 +00:00
gdbadmin
7bb06ff250
*** empty log message ***
2002-03-01 00:00:06 +00:00
Daniel Jacobowitz
6a8031a32d
Oops, fix date in changelog
2002-02-28 16:58:58 +00:00
Daniel Jacobowitz
265f716b73
2002-02-27 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/linux-s390-low.c: New file.
* regformats/reg-s390.dat: New file.
* regformats/reg-s390x.dat: New file.
* gdbserver/configure.srv: Add S/390.
* gdbserver/Makefile.in: Add S/390.
* configure.tgt: Enable gdbserver for S/390.
2002-02-28 16:58:15 +00:00
Eli Zaretskii
ac469903dd
* go32-nat.c (_initialize_go32_nat): Don't use periods in the
...
first line of the doc string for "info dos", except at the end of
the sentence, since the short help stops at the first period.
2002-02-28 16:49:10 +00:00
Jason Merrill
985cb1a306
* dwarf2read.c (dwarf_cfi_name): Add new codes.
2002-02-28 11:21:16 +00:00
gdbadmin
1b09b73624
*** empty log message ***
2002-02-28 00:00:09 +00:00
Fred Fish
c570663eff
2002-02-27 Fred Fish <fnf@redhat.com>
...
* blockframe.c (generic_fix_call_dummy): Fix obvious typo in
comment (dumy -> dummy).
2002-02-27 20:04:29 +00:00
Peter Schauer
4363022793
* symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.
2002-02-27 18:22:24 +00:00
Rodney Brown
b84911e820
2002-02-27 Rodney Brown <rbrown64@csc.com.au>
...
* utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.
2002-02-27 12:29:43 +00:00
Daniel Jacobowitz
58caa3dcdb
2002-02-27 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/acconfig.h: New file.
* gdbserver/i387-fp.c: New file.
* gdbserver/i387-fp.h: New file.
* gdbserver/linux-x86-64.c: New file.
* regformats/reg-x86-64.dat: New file.
* configure.tgt: Add x86_64-*-linux* gdbserver support.
& gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
* gdbserver/configure.in: Add support for regsets.
* gdbserver/config.in: Regenerate.
* gdbserver/configure: Regenerate.
* gdbserver/Makefile.in: Likewise. Add $(linux_low_h).
* gdbserver/linux-low.h: New file.
* gdbserver/linux-low.c: Include "linux-low.h". Add support
for regsets.
* gdbserver/linux-arm-low.c: Include "linux-low.h".
* gdbserver/linux-ia64-low.c: Include "linux-low.h".
* gdbserver/linux-m68k-low.c: Include "linux-low.h".
* gdbserver/linux-mips-low.c: Include "linux-low.h".
* gdbserver/linux-ppc-low.c: Include "linux-low.h".
* gdbserver/linux-sh-low.c: Include "linux-low.h".
* gdbserver/linux-i386-low.c: Include "linux-low.h". Include
"i387-fp.h". Add PTRACE_GETREGS and friends.
* gdbserver/regcache.c (supply_register): New function.
(supply_register_by_name): New function.
(collect_register): New function.
(collect_register_by_name): New function.
2002-02-27 07:07:49 +00:00
Daniel Jacobowitz
936521746c
2002-02-27 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
(config.status): Add configure.srv dependency.
(server_h): Add config.h dependency.
2002-02-27 06:22:10 +00:00