Andrew Cagney
173155e866
Add read_signed_register{,_pid}(). Change return type of
...
read_register{,_pid}() to ULONGEST.
2000-07-11 05:42:25 +00:00
Andrew Cagney
cce41527ca
* mips-tdep.c (mips_push_arguments): Always align struct_addr on a
...
16 byte boundary. Align allocated argument space using
MIPS_STACK_ARGSIZE. Reserve space on stack for the struct return
and floating-point registers. Use fp_register_arg_p to determine
if float_argreg should be aligned.
2000-07-10 15:09:23 +00:00
Elena Zannoni
8db62801bd
2000-07-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
...
* config/sh/tm-sh.h (STORE_RETURN_VALUE): Redefine as
sh_store_return_value().
* sh-tdep.c (sh_store_return_value): New function. Store the
value returned by a function into the appropriate register.
2000-07-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* sh-tdep.c (sh_skip_prologue): Before looking at the actual
instructions, try to see if the symbol table can be of help, by
calling after_prologue(). If this doesn't work, call
skip_prologue_hard_way().
(skip_prologue_hard_way): Renamed from sh_skip_prologue. Add some
more instruction pattern matching for pushing of arguments, and
manipulation of r14.
(after_prologue): New function. Use symbol table info to determine
the end of the prologue, if possible.
2000-07-10 14:43:37 +00:00
Michael Snyder
32178cabe9
2000-07-07 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* findvar.c (_initialize_findvar, build_findvar, write_fp, read_fp,
generic_target_write_fp, generic_target_read_fp, write_sp, read_sp,
generic_target_write_sp, generic_target_read_sp, write_pc, read_pc,
generic_target_write_pc, generic_target_read_pc, write_pc_pid,
read_pc_pid, supply_register, write_register_pid, write_register,
read_register_pid, read_register, write_register_bytes,
read_register_bytes, write_register_gen, read_register_gen,
registers_fetched, registers_changed, find_saved_register,
read_relative_register_raw_bytes, default_get_saved_register,
read_relative_register_raw_bytes_for_frame, get_saved_register):
Move from this file into new file regcache.c.
(register_valid, registers_pid, registers): Ditto.
* regcache.c: New file to hold the register cache.
(register_cached): New function to read register_valid array.
* value.h (register_cached): Declare.
* defs.h (default_get_saved_register): Delete decl of static function.
* Makefile.in: Add regcache module.
2000-07-10 06:16:51 +00:00
Michael Snyder
62c848e1d0
Dummy commit for diff purposes.
2000-07-10 06:14:40 +00:00
Andrew Cagney
8ce17b9a34
From Pierre Muller <muller@ics.u-strasbg.fr>:
...
* p-typeprint.c (pascal_type_print_method_args): Add braces around
isdigit after while keyword.
2000-07-10 05:09:51 +00:00
Elena Zannoni
c3b6c27c01
2000-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
...
* TODO: Remove readline 4.1 import item.
2000-07-09 19:11:44 +00:00
Eli Zaretskii
63ac3005ce
* Makefile.in (install-info): Find files to install in either the build
...
or source directories (adapted from Makefile.am).
(From Chris Faylor.)
2000-07-09 05:41:21 +00:00
Nicholas Duffek
546022221a
* gdb.c++/misc.cc (class ClassParam, class_param): Define.
...
(use_methods): New function.
(main): Call use_methods().
* gdb.c++/classes.exp (test_method_param_class): New procedure.
(do_tests): Call test_method_param_class.
2000-07-09 05:16:11 +00:00
Nicholas Duffek
6b1ba9a002
* gdbtypes.c (is_ancestor): Infer type equivalence from name
...
equivalence.
(rank_one_type): Use strcmp instead of == to compare type names.
Don't swap parm with arg when checking TYPE_CODE_REF types.
* valops.c (find_overload_match): Fix indentation. Compare
parameter rankings to 0..9, 10..99, and 100+ instead of 0, 10,
and 100.
2000-07-09 05:15:50 +00:00
Nicholas Duffek
2bec05724f
* gdb.c++/classes.exp (test_nonexistant_members): Fix name
...
spelling.
(test_enums): New procedure. Move enum tests from end of script
to here. Set breakpoint on function name instead of line number.
* gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
(enums2): New marker function.
(enums1): New function.
(main): Call enums1(). Move enum tests to enums1().
2000-07-09 05:10:13 +00:00
Nicholas Duffek
bd79f7577d
* stabs.texinfo: Fix spelling errors.
...
(String Field): FILE-NUMBER starts from 0, not 1.
2000-07-07 23:44:16 +00:00
Nicholas Duffek
470d566602
* xcoffread.c (read_symbol_nvalue): Return CORE_ADDR.
...
* rs6000-tdep.c (rs6000_pop_frame): Make addr CORE_ADDR type.
2000-07-07 22:00:09 +00:00
Andrew Cagney
f7b9e9fc07
More mult-arch conversions: IEEE_FLOAT, SKIP_PROLOGUE,
...
SAVED_PC_AFTER_CALL, DECR_PC_AFTER_BREAK, BREAKPOINT_FROM_PC,
INNER_THAN.
2000-07-07 09:19:03 +00:00
Mark Kettenis
f19ebbbc84
* config/i386/tm-linux.h: Add longjmp support.
...
(JB_ELEMENT_SIZE, JB_PC): New defines.
(GET_LONGJMP_TARGET): Define.
(get_longjmp_target): Add prototype.
2000-07-07 00:30:35 +00:00
Mark Kettenis
a48bb0b384
* breakpoint.c (bpstat_what): Keep returning
...
BPSTAT_WHAT_SET_LONGJMP_RESUME when hitting multiple longjmp()
breakpoints instead of signalling an error by returning
BPSTAT_WHAT_STOP_NOISY.
2000-07-07 00:20:29 +00:00
Michael Snyder
65c1106637
2000-07-06 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* mips-tdep.c: Replace '16' with bfd_mach_mips16 where appropriate.
2000-07-06 23:17:32 +00:00
Christopher Faylor
00373e55b6
* infcmd.c (attach_command): Move "stop_soon_quietly" setting inside
...
ATTACH_NO_WAIT conditional since we are not about to stop soon if we're not
calling wait_for_inferior.
2000-07-06 20:58:33 +00:00
Eli Zaretskii
5f208f6d22
Remove \centerline from the blurb. Patch from Brian Youmans.
2000-07-05 13:11:41 +00:00
Andrew Cagney
90f59acafb
Keep NATDEPFILES on a single line.
2000-07-05 11:11:58 +00:00
Andrew Cagney
95cbc9830c
Set SER_HARDWIRET to ser-go32.c when *go32* or *djgpp*.
2000-07-05 10:55:17 +00:00
Andrew Cagney
e2273c6d9d
Replace command_loop_marker() with null_cleanup().
2000-07-05 10:36:41 +00:00
Andrew Cagney
409a3f64ac
Check for <sys/poll.h>.
2000-07-05 10:25:43 +00:00
Andrew Cagney
a5cb8284bf
Pass infodir down to sub-makes.
2000-07-05 08:12:04 +00:00
Andrew Cagney
5d35f0ac05
Update TODO.
2000-07-05 08:05:53 +00:00
Mark Kettenis
37d4dc7404
* TODO: Update.
2000-07-04 22:55:42 +00:00
Andrew Cagney
78492fde3d
Rewrite gdb.asm so that it doesn't assume a C comiler (or any C
...
support).
2000-07-04 02:47:08 +00:00
Andrew Cagney
49a2cef8b7
Replace jumbo pattern match with gdb_expect_list().
2000-07-04 02:38:05 +00:00
Elena Zannoni
2bfa91eece
2000-07-03 Christopher Faylor <cgf@cygnus.com>
...
Committed by Elena Zannoni <ezannoni@cygnus.com>
* sh-tdep.c (sh_skip_prologue): Change prologue matching for modern
compilers.
(sh_frame_find_saved_regs): Ditto.
(sh_find_callers_reg): Stop if pc is zero.
2000-07-03 18:59:36 +00:00
Andrew Cagney
9e294fb82f
Revert previous ser-unix change. Locks up serial device.
2000-07-01 08:02:53 +00:00
Andrew Cagney
45f9696ab6
Restore setting of SER_HARDWIRE. Lost during rs6000 merge.
2000-07-01 05:49:13 +00:00
Kevin Buettner
1b2a2f903f
Params elimination.
2000-06-27 06:45:43 +00:00
Eli Zaretskii
cc542d3bd4
* Makefile.in (install-info): Support installation from outside of
...
the source directory. Reported by Mark Harig
<markh@frazier.landmark.com>.
2000-06-25 08:12:30 +00:00
Andrew Cagney
e8b1d41126
Tipo.
2000-06-23 14:00:13 +00:00
Andrew Cagney
566f0f7aa5
For EABI, start allocting space on the stack when the registers are
...
full. Not when the number of args == 8.
2000-06-23 11:06:31 +00:00
Andrew Cagney
97c3646ff2
Add support for auto_boolean (true, false or auto).
2000-06-23 08:12:27 +00:00
Andrew Cagney
f09ded2422
When FP registers are full, store FP arguments on stack and not in
...
integer registers.
2000-06-23 07:44:00 +00:00
Kevin Buettner
f777891334
PARAMS elimination.
2000-06-22 07:16:20 +00:00
Pierre Muller
6b2463a3ee
* typo problems in last commit fixed
2000-06-21 10:21:14 +00:00
Pierre Muller
c6fd39cde9
2000-06-21 Pierre Muller <muller@ics.u-strasbg.fr>
...
* symfile.c (init_filename_language_table) add ".pas", ".p" and ".pp"
as pascal source file extensions.
2000-06-21 09:59:51 +00:00
J.T. Conklin
f3b288016c
* gdb.texinfo: Fix typo, $bpnum is set to last breakpoint number.
2000-06-20 22:13:17 +00:00
Kevin Buettner
f6dd1e7029
PARAMS elimination.
2000-06-20 07:13:39 +00:00
J.T. Conklin
8c9cdfe810
* remote-nindy.c (nindy_fetch_word, nindy_store_word): Removed
...
(nindy_xfer_inferior_memory): Use dcache_xfer_memory() instead of
breaking transfer into chunks and using nindy_fetch_word() and
nindy_store_word().
* remote-bug.c (bug_xfer_memory): Use dcache_xfer_memory() instead
of breaking transfer into chunks and using gr_fetch_word() and
gr_store_word().
* remote.c (remote_fetch_word, remote_store_word): Removed.
* remote-utils.h (gr_fetch_word, gr_store_word): Removed.
* remote-utils.c (gr_fetch_word, gr_store_word): Removed.
* dcache.h (dcache_fetch, dcache_poke, dcache_poke_block): Removed.
* dcache.c (dcache_fetch, dcache_poke): Removed.
2000-06-19 18:59:07 +00:00
Elena Zannoni
3e6c8688d2
2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
...
* gdb.base/maint.exp: Add 'maint print architecture' item to output
of 'help maint print' command.
2000-06-19 14:56:21 +00:00
Pierre Muller
750ba3824f
* defs.h: define language_pascal in language enumeration.
...
* language.h: define _LANG_pascal macro.
* language.c: add language_pascal support in all language dependant functions.
2000-06-19 10:14:22 +00:00
Andrew Cagney
9ff5cbe93a
Re-do multi-line tests using gdb_expect_list().
2000-06-18 03:45:35 +00:00
Kevin Buettner
692248f335
PARAMS elimination.
2000-06-18 00:23:24 +00:00
Andrew Cagney
9ace04976e
Add ``set debug mips'' command. Add much debugging.
2000-06-17 15:18:21 +00:00
Andrew Cagney
9a0149c65a
For MIPS_EABI, squeeze simple floating point structs into an FP register.
2000-06-17 14:33:56 +00:00
Andrew Cagney
59d521c179
Remove arbitrary printf output limit placed on pmon targets
2000-06-17 14:00:31 +00:00