gdbadmin
6e94181b1e
*** empty log message ***
2003-04-24 00:00:31 +00:00
David Carlton
0f20eeea6c
2003-04-23 David Carlton <carlton@bactrian.org>
...
* cp-support.c (cp_find_first_component): Accept 'operator' in
more locations.
2003-04-23 David Carlton <carlton@bactrian.org>
* gdb.c++/maint.exp (test_first_component): Add tests for
'operator' in more locations.
2003-04-23 23:45:24 +00:00
Andrew Cagney
74cfe982ed
2003-04-23 Andrew Cagney <cagney@redhat.com>
...
* infcall.c (call_function_by_hand): Eliminate redundant
indentation. Move "saved_async" and "old_cleanups" to where they
are needed.
2003-04-23 22:28:42 +00:00
Andrew Cagney
5255753375
2003-04-23 Andrew Cagney <cagney@redhat.com>
...
* infcall.c (call_function_by_hand): Eliminate the variables "rc"
and "buffer". Move the "name" code to where it is needed.
2003-04-23 22:12:40 +00:00
Andrew Cagney
158775dee3
2003-04-23 Andrew Cagney <cagney@redhat.com>
...
* infcall.c (call_function_by_hand): Move variables "start_sp",
"dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call
code to ON_STACK switch branch.
2003-04-23 21:14:33 +00:00
Andrew Cagney
ebc7896c3c
2003-04-23 Andrew Cagney <cagney@redhat.com>
...
* infcall.c (call_function_by_hand): Make declaration of "i",
"sal", "bpt" and "old_sp" more local to their use. Delete #if
lint.
2003-04-23 20:31:57 +00:00
Andrew Cagney
d727590f88
2003-04-23 Andrew Cagney <cagney@redhat.com>
...
* infcall.c (call_function_by_hand): Delete variable
"n_method_args". Localize "param_type"'s declaration to the loop
that it is used. Reinstate code assigning to said variable -
deleted on 2002-06-14. Rationalize calls to value_args_coerce.
Rationalize code using "param_type".
2003-04-23 19:32:38 +00:00
Andrew Cagney
d585e13a97
2003-04-22 Andrew Cagney <cagney@redhat.com>
...
* infcall.c (call_function_by_hand): Use new variable "bp_addr" to
compute the breakpoint address. Only call FIX_CALL_DUMMY when
ON_STACK. Eliminate the variable "addr". Do not pass "real_pc"
to DEPRECATED_PUSH_RETURN_ADDRESS.
2003-04-23 15:02:02 +00:00
gdbadmin
e5fe5ced63
*** empty log message ***
2003-04-23 03:38:43 +00:00
Kevin Buettner
051caad9cb
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM
...
on the DWARF2 register number prior to fetching a register.
2003-04-22 23:18:26 +00:00
Joel Brobecker
772968793e
* config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.
...
Update all the tests using SOFT_FLOAT considering the fact that
this macro was always set to 0.
* config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT
considering the fact that this macro was always set to 0.
* hppa-tdep.h (hppa_store_return_value): Likewise.
(hppa_extract_return_value): Likewise.
2003-04-22 23:04:40 +00:00
Joel Brobecker
4252f1df1a
* config/pa/tm-hppa.h: Remove obsolete code, was used by
...
the hppa-pro target only.
2003-04-22 18:27:47 +00:00
Joel Brobecker
14604c6bf7
Ongoing multi-arch conversion effort for HP/UX:
...
* config/pa/tm-hppa.h: Move all macro that are no longer
defined now that GDB_MULTI_ARCH is now set to 1 from here...
* config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet).
2003-04-22 02:44:27 +00:00
Joel Brobecker
77eb01d11f
* config/pa/tm-hppa.h: Obsolete a section that was only used
...
for hppa-pro.
2003-04-22 01:13:05 +00:00
Joel Brobecker
61995b3b2c
Ongoing multi-arch conversion for HP/UX.
...
* config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define
if already defined (allows hppa64 to stay non-multiarched for now).
* config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define.
2003-04-22 00:53:54 +00:00
gdbadmin
52ad6187b7
*** empty log message ***
2003-04-22 00:00:32 +00:00
Andrew Cagney
4aa79dcc21
2003-04-21 Andrew Cagney <cagney@redhat.com>
...
* frame.c (frame_id_eq): Fail when the code_addr's do not match.
2003-04-21 19:34:02 +00:00
Andrew Cagney
0f751ff2f4
2003-04-21 Andrew Cagney <cagney@redhat.com>
...
* i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with
"i386_num_mmx_regs".
2003-04-21 18:55:52 +00:00
Andrew Cagney
04714b914f
2003-04-21 Andrew Cagney <cagney@redhat.com>
...
* infcall.c: New file.
* infcall.h: New file.
* valarith.c: Include "infcall.h".
* scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
* eval.c, ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (valarith.o, scm-lang.o): Update dependencies.
(objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
(eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
(SFILES): Add "infcall.c"
(COMMON_OBS): Add "infcall.o".
(infcall.o): Specify dependencies.
* value.h (call_function_by_hand): Delete declaration.
* inferior.h (run_stack_dummy): Delete declaration.
* infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
(run_stack_dummy): Move to "infcall.c", merged into
call_function_by_hand.
* valops.c (call_function_by_hand): Moved to "infcall.c".
(find_function_addr, value_arg_coerce): Ditto.
(unwindonsignal_p, coerce_float_to_double): Ditto.
(_initialize_valops): Move "set/show coerce-float-to-double", and
"set/show unwindonsignal" commands to "infcall.c".
* v850-tdep.c, target.h: Update comments.
* sparc-tdep.c (sparc_fix_call_dummy): Update comments.
* sh-tdep.c (sh_init_extra_frame_info): Update comments.
(sh64_init_extra_frame_info): Update comments.
* mn10300-tdep.c: Update comments.
* mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
* config/sparc/tm-sparc.h: Update comments.
* breakpoint.h: Update comments.
* avr-tdep.c (avr_init_extra_frame_info): Update comments.
* arm-tdep.c: Update comment.
2003-04-21 16:48:41 +00:00
gdbadmin
7d6c247d0e
*** empty log message ***
2003-04-21 00:00:02 +00:00
gdbadmin
0abe530a33
*** empty log message ***
2003-04-20 00:00:31 +00:00
Mark Kettenis
c40e1eabaf
* i386-tdep.c (i386_num_register_names): New variable.
...
(i386_num_mmx_regs): Renamed from mmx_num_regs.
(MM0_REGNUM): Remove redundant parentheses in define.
(i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs.
(i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p,
i386_mxcsr_regnum_p): Remove redundant parentheses.
(i386_register_name): Use i386_num_register_names.
2003-04-19 14:43:50 +00:00
Mark Kettenis
94ea66b376
* i386-tdep.c (i386_extract_return_value,
...
i386_store_return_value): Correct check for availability of
floating-point registers.
2003-04-19 14:38:47 +00:00
Mark Kettenis
54299a1dfc
* i386-tdep.c (i386_frame_num_args): Remove function.
...
(i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown.
2003-04-19 14:34:31 +00:00
Mark Kettenis
c86c27affb
* i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from
...
mmx_regnum_to_fp_regnum. Adjust all callers.
2003-04-19 14:30:33 +00:00
Mark Kettenis
f9d3c2a8ad
* i386-tdep.c (i386_get_longjmp_target): Use
...
TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT
and TARGET_CHAR_BIT. Use extract_typed_address instead of
extract_address.
2003-04-19 14:26:15 +00:00
Mark Kettenis
94ba74a9fa
* core-regset.c: Update comments to reflect reality. Re-order
...
includes.
(fetch_core_registers): Use switch instead of if. Remove
redundant prototype.
2003-04-19 12:00:48 +00:00
gdbadmin
d6ae4bd9d3
*** empty log message ***
2003-04-19 00:00:02 +00:00
Jim Blandy
4074e13c63
* s390-tdep.c (s390_frame_align): New function.
...
(s390_gdbarch_init): Register it with the gdbarch object.
2003-04-18 20:20:21 +00:00
Richard Henderson
e3ab4aba1a
* remote.c (minitelnet): Don't redeclare escape_count, echo_check.
2003-04-18 00:21:38 +00:00
gdbadmin
efc864b149
*** empty log message ***
2003-04-18 00:00:01 +00:00
Elena Zannoni
627bf7c1c7
2003-04-17 Michael Snyder <msnyder@redhat.com>
...
Karen Bennet <bennet@redhat.com>
Committed by Elena Zannoni <ezannoni@redhat.com>
* gdb_gcore.sh: New script to create a core dump of a process.
2003-04-17 20:33:09 +00:00
Elena Zannoni
514621a981
2003-04-17 Elena Zannoni <ezannoni@redhat.com>
...
* values.c (value_being_returned): Don't fetch the return
value if the return type is void.
2003-04-17 20:31:43 +00:00
Jeff Johnston
b4acd5590b
2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
...
* thread-db.c: Reindented.
2003-04-17 17:30:02 +00:00
Jeff Johnston
530b167e9a
2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t,
td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t
as types.
2003-04-17 17:18:49 +00:00
gdbadmin
f32ffeb535
*** empty log message ***
2003-04-17 00:00:32 +00:00
Kevin Buettner
610a37459e
Fix typo.
2003-04-16 20:44:04 +00:00
Kevin Buettner
ab9fe00ef0
* rs6000-tdep.c (rs6000_gdbarch_init): For the SVR4 ABI, set
...
the size of ``long double'' to 16, instead of 8.
2003-04-16 20:41:46 +00:00
Kevin Buettner
c8c4d8dcfb
* gdb.base/args.exp: Invoke gdb_load for simulator targets.
2003-04-16 20:29:42 +00:00
Elena Zannoni
3fe60e3c14
2003-04-16 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/completion.exp: Make 'info func mark' complete on 'info
func marke' instead. Update test name.
2003-04-16 20:07:08 +00:00
Mark Kettenis
e64a344cc8
* i386-linux-nat.c: Add some whitespace to make things more
...
readable.
(fetch_register, store_register, fetch_inferior_registers,
store_inferior_registers): Get rid of assignment in if-statement.
(store_register): Fix typo in error message.
2003-04-16 15:22:02 +00:00
Andrew Cagney
25d4103164
2003-04-16 Andrew Cagney <cagney@redhat.com>
...
* utils.c (xmmalloc): Always allocate something, matches
libiberty/xmalloc's semantics.
(xmrealloc, xmcalloc): Ditto.
2003-04-16 14:43:03 +00:00
Andrew Cagney
c50901fda0
2003-04-16 Andrew Cagney <cagney@redhat.com>
...
* frame.c (get_prev_frame): Do not initialize "unwind" or "type",
update comments.
(get_frame_type): Initialize unwind and type when needed.
(get_frame_id, frame_register_unwind): Ditto.
2003-04-16 14:39:47 +00:00
Andrew Cagney
f81824a9ed
2003-04-16 Andrew Cagney <cagney@redhat.com>
...
* NEWS: Mention that sparclet-*-* and sparclite-*-* have been made
obsolete.
* sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code.
* sparcl-stub.c: Obsolete file.
* config/sparc/tm-sparclet.h: Obsolete file.
* sparclet-stub.c: Obsolete file.
* sparclet-rom.c: Obsolete file.
* sparcl-tdep.c: Obsolete file.
* config/sparc/tm-sparclite.h: Obsolete file.
* config/sparc/sparclite.mt: Obsolete file.
* config/sparc/sparclet.mt: Obsolete file.
* configure.tgt: Make sparclet-*-*, sparclite-*-*, and
sparc86x-*-* obsolete.
2003-04-16 14:32:21 +00:00
gdbadmin
897dafdda2
*** empty log message ***
2003-04-16 00:00:31 +00:00
David Carlton
9219021cb5
2003-04-15 David Carlton <carlton@math.stanford.edu>
...
* Makefile.in (SFILES): Add cp-namespace.c.
(COMMON_OBS): Add cp-namespace.o.
(block.o): Depend on gdb_obstack_h and cp_support_h.
(buildsym.o): Depend on cp_support_h.
(cp-namespace.o): New.
(cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
(dwarf2read.o): Depend on cp_support_h.
* jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
* dwarf2read.c (process_die): Set processing_has_namespace_info,
processing_current_namespace.
(read_namespace): Update processing_current_namespace; check for
anonymous namespaces.
(dwarf2_name): New function.
(dwarf2_extension): Ditto.
* cp-support.h: Update copyright, contributors.
Add inclusion guards.
Add opaque declaration for structs obstack, block, symbol.
(struct using_direct): New struct.
Add declarations for cp_find_first_component,
cp_entire_prefix_len, processing_has_namespace_info,
processing_current_namespace, cp_is_anonymous,
cp_add_using_directive, cp_initialize_namespace,
cp_finalize_namespace, cp_set_block_scope,
cp_scan_for_anonymous_namespaces.
* cp-namespace.c: New file.
* cp-support.c: Update copyright.
Include ctype.h, gdb_assert.h, gdbcmd.h.
New variable maint_cplus_cmd_list.
(cp_find_first_component): New function.
(cp_entire_prefix_len, maint_cplus_command)
(first_component_command, _initialize_cp_support): Ditto.
* buildsym.c: Include cp-support.h.
New variable using_list.
(add_symbol_to_list): Check for anonymous namespaces.
(finish_block): Set block's scope.
(start_symtab): Initialize C++ namespace support.
(end_symtab): Finalize C++ namespace support.
* block.h: Add opaque declarations for structs
block_namespace_info, using_direct, and obstack.
Add declarations for block_set_scope and block_set_using.
(struct block): Add 'language_specific' member.
(BLOCK_NAMESPACE): New macro.
* block.c: Include gdb_obstack.h and cp-support.h.
(struct block_namespace_info): New struct.
(block_set_scope): New function.
(block_set_using, block_initialize_namespace): Ditto.
2003-04-15 David Carlton <carlton@math.stanford.edu>
* gdb.c++/maint.exp: New file.
2003-04-15 23:07:11 +00:00
Elena Zannoni
5dd55bddfe
2003-04-14 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.threads/schedlock.c: Change type of thread function argument
to long, to avoid warnings on 64-bit platforms.
2003-04-15 02:23:11 +00:00
Kevin Buettner
d5a921c9a8
* solib-svr4.c (svr4_have_link_map_offsets): New function.
...
(locate_base): Return early if there aren't any link map offsets.
(svr4_solib_create_inferior_hook): Warn if shared library support
is unavailable.
2003-04-15 00:28:23 +00:00
gdbadmin
351980a492
*** empty log message ***
2003-04-15 00:00:32 +00:00
David Carlton
d2a52b2763
2003-04-14 David Carlton <carlton@math.stanford.edu>
...
* symtab.c (symbol_set_names): Add prefix when storing Java names
in hash table. Fix for PR java/1039.
2003-04-14 19:56:32 +00:00