Commit Graph

18732 Commits

Author SHA1 Message Date
Mark Kettenis 22a44745e3 * objc-lang.c (print_object_command): Use gdb_byte for c.
* arch-utils.c (legacy_extract_return_value): Use 'gdb_byte *' for
registers.
2005-07-12 12:11:44 +00:00
gdbadmin 5817d0c78b *** empty log message *** 2005-07-12 00:00:33 +00:00
Mark Kettenis 2e5a502014 * bsd-kvm.c: Include <paths.h>.
(bsd_kvm_corefile): New variable.
(core_kd, bsd_kvm_paddr, bsd_kvm_supply_pcb, bsd_kvm_ops): Make
static.
(bsd_kvm_open): Set bsd_kvm_corefile.
(bsd_kvm_files_info): New function.
(bsd_kvm_add_target): Set to_files_info.
2005-07-11 20:27:09 +00:00
gdbadmin 895630a341 *** empty log message *** 2005-07-11 00:00:02 +00:00
Mark Kettenis 10a844a290 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
-stack-select-frame without arguments.
(test_stack_frame_listing): Add test for newly implemented command
-stack-info-frame.
2005-07-10 20:49:38 +00:00
gdbadmin bf943cbb7f *** empty log message *** 2005-07-10 00:00:32 +00:00
gdbadmin 3e916ea138 *** empty log message *** 2005-07-09 00:00:04 +00:00
gdbadmin 8f56946761 *** empty log message *** 2005-07-08 00:00:03 +00:00
Andreas Schwab 99efcb59ee * observer.sh: Use different temporary file name depending on mode
of operation to avoid clash during parallel build.
2005-07-07 13:11:16 +00:00
gdbadmin a926dc4d2b *** empty log message *** 2005-07-07 00:00:03 +00:00
Bob Rossi 3cb3b8dfd1 Index: gdb/ChangeLog
+2005-07-06  Bob Rossi  <bob@brasko.net>
+
+	* fork-child.c (fork-inferior): Use accessor function for
+	inferior_io_terminal.
+	* infcmd.c (inferior_io_terminal): Make static.
+	(set_inferior_io_terminal): New function.
+	(get_inferior_io_terminal): Ditto.
+	(tty_command): Use accessor function.
+	(_initialize_infcmd): Add inferior_tty setshow variable.
+	(_initialize_infcmd): Remove tty command.
+	(_initialize_infcmd): Add a tty command that is an alias.
+	* inferior.h (set_inferior_io_terminal): New prototype.
+	(get_inferior_io_terminal): Ditto.
+	(new_tty_prefork): Add const qualifier to parameter.
+	* inflow.c (inferior_thisrun_terminal): Add const qualifier.
+	(new_tty_prefork): Add const qualifier to parameter.
+	* nto-procfs (procfs_create_inferior): Use accessor function.
+	(procfs_create_inferior): Add const qualifier to locals.
+	* win32-nat.c (child_create_inferior): Ditto.
+	* mi/mi-cmd-env.c (mi_cmd_inferior_tty_set): New function.
+	(mi_cmd_inferior_tty_set): Ditto.
+	* mi/mi-cmds.c (mi_cmds): Add inferior-tty-set and inferior-tty-show
+	* mi/mi-cmds.h (mi_cmd_inferior_tty_set): Add prototype.
+	(mi_cmd_inferior_tty_show): Ditto.

Index: gdb/doc/ChangeLog
+2005-07-06  Bob Rossi  <bob@brasko.net>
+
+	* gdb.texinfo (GDB/MI Miscellaneous Commands): Add -inferior-tty-set
+	and -inferior-tty-show.
+	(Input/Output): Document "set/show inferior-tty" and tty alias.

Index: gdb/testsuite/ChangeLog
+2005-07-06  Bob Rossi  <bob@brasko.net>
+
+	* gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
+	command.
+	(Copyright): Update copyright.
2005-07-06 14:54:37 +00:00
Wu Zhou ec502284db * tui/tui-win.c (parse_scrolling_args): Fix SEGV error with invalid
scroll commands.
2005-07-06 07:25:36 +00:00
Wu Zhou bd49c137fe * f-exp.y (yyparse): Add code to support exponentiation expression.
(yylex): Add code to scan exponentiation operator.
	* eval.c (evaluate_subexp_standard): Add support for BINOP_EXP.
	* valarith.c (value_binop): Reset errno to 0 before calling pow
	to do exponentiation operation.
2005-07-06 06:52:25 +00:00
Wu Zhou a0c5fbcf0e * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
tests to evaluate exponentiation expression.
2005-07-06 06:11:54 +00:00
gdbadmin 3bfbf6d70e *** empty log message *** 2005-07-06 00:00:04 +00:00
gdbadmin 91d76c3bfa *** empty log message *** 2005-07-05 00:00:34 +00:00
Mark Kettenis df80278b79 * i386nbsd-nat.c (i386nbsd_supply_pcb): Cast to 'gdb_byte *' in
read_memory call.
* bsd-uthread.c (bsd_uthread_wait): Use gdb_byte for byte buffer.
2005-07-04 13:38:55 +00:00
Mark Kettenis 1754f103e6 * bsd-kvm.c (bsd_kvm_open): Properly cast sentinel in concat call.
* coffread.c (patch_type, process_coff_symbol): Likewise.
* corelow.c (core_open): Likewise.
* dwarf2read.c (dwarf_decode_lines, dwarf2_start_subfile):
* language.c (set_lang_str, set_type_str, set_range_str)
(set_case_str): Likewise.
* source.c (add_path, openp): Likewise.
* stabsread.c: Likewise.
* top.c (init_history): Likewise.
* utils.c (xfullpath): Likewise.
* value.c (lookup_internalvar): Likewise.
* cli/cli-cmds.c (cd_command): Likewise.
* cli/cli-dump.c (add_dump_command): Likewise.
2005-07-04 13:29:13 +00:00
Mark Kettenis b4ad899f0b * i387-tdep.c (print_i387_value, print_i387_ext, i387_tag): Change
type of first argument to `const gdb_byte *'.
(i387_print_float_info, i387_register_to_value)
(i387_value_to_register, i387_supply_fsave, i387_collect_fsave)
(i387_supply_fxsave, i387_collect_fxsave): Use gdb_byte for byte
buffers.
2005-07-04 10:17:40 +00:00
gdbadmin 90f7da277e *** empty log message *** 2005-07-04 00:00:32 +00:00
Ben Elliston eb2dec72ab * Makefile.in (RUNTEST): Set to runtest. 2005-07-03 20:46:50 +00:00
Daniel Jacobowitz 2f4535c7eb From Richard Henderson.
* amd64-tdep.c (amd64_sse_type): New.
	(amd64_register_info): Use it for xmm registers.  Constify.
	(amd64_register_type): Initialize amd64_sse_type as needed.
2005-07-03 17:30:22 +00:00
Steve Ellcey 60ca704fb6 * configure.ac: Add arguments to AC_DEFINE calls.
* acconfig.h: Remove file.
	* acinclude.m4 (AC_GNU_SOURCE): Remove definition.
	* configure: Regenerate.
	* config.in: Regenerate.
2005-07-03 16:05:11 +00:00
gdbadmin 682cb032bc *** empty log message *** 2005-07-03 00:00:03 +00:00
Nathan J. Williams 10fac09652 * gdb.texinfo (Packets): Change description of 'D' packet to note
that GDB does wait for a response.
2005-07-02 15:39:48 +00:00
gdbadmin a7a749b5d4 *** empty log message *** 2005-07-02 00:00:02 +00:00
Mark Kettenis a8a0fc4cf5 * mips-tdep.c (mips_insn16_frame_prev_register)
(mips_insn32_frame_prev_register, mips_stub_frame_prev_register):
Change type of last argument to `gdb_byte *'.
2005-07-01 19:29:46 +00:00
Steve Ellcey e122f1f5f1 * configure.ac (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS.
* configure: Regenerate.
	* config.in: Regenerate.
	* server.h (NEED_DECLARATION_STRERROR):
	Replace with !HAVE_DECL_STRERROR.
2005-07-01 17:18:06 +00:00
Steve Ellcey 3ad976515e * MAINTAINERS (Write After Approval): Add myself. 2005-07-01 17:13:09 +00:00
Mark Kettenis bba93f6c2c * solib-svr4.c: Include "solib.h".
* Makefile.in (solib-svr4.o): Update dependencies.
2005-07-01 15:10:26 +00:00
gdbadmin 411e9202bc *** empty log message *** 2005-07-01 00:00:03 +00:00
gdbadmin c410dfda05 *** empty log message *** 2005-06-30 00:00:04 +00:00
Andreas Schwab 984971d0d4 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
main to avoid warnings.

	* gdb.base/sigrepeat.exp: Fix reference to undefined variable.
2005-06-29 15:01:49 +00:00
gdbadmin 75447401e8 *** empty log message *** 2005-06-29 00:00:37 +00:00
Mark Kettenis edf8c5a3cc * eval.c (evaluate_struct_tuple): Use strcmp instead of
DEPRECATED_STREQ.
2005-06-28 20:48:14 +00:00
Michael Snyder 63a09be56e 2005-06-27 Michael Snyder <msnyder@redhat.com>
* config/mn10300/linux.mt: New file.
	* configure.tgt: Add rule for am33 / mn10300-linux.
	* mn10300-tdep.c, mn10300-tdep.h: Bump copyright year.
2005-06-28 00:17:50 +00:00
gdbadmin 10e34f7ca3 *** empty log message *** 2005-06-28 00:00:33 +00:00
Wu Zhou c54d24cb8b * gdbtypes.c (get_discrete_bounds): Fix a comment typo. 2005-06-27 08:38:13 +00:00
gdbadmin 4929784d4e *** empty log message *** 2005-06-27 00:00:32 +00:00
gdbadmin 4ee8543cb7 *** empty log message *** 2005-06-26 00:00:02 +00:00
Mark Kettenis b6958cfb8f * sol-thread.c (sol_thread_xfer_memory): Change type of second
argument to `gdb_byte *'.
(sol_thread_xfer_partial): Change type of readbuf and writebuf
arguments to `gdb_byte *'.
2005-06-25 12:49:01 +00:00
Mark Kettenis 870cd05e24 * mips-tdep.c (mips_xfer_register, mips_o32_return_value)
(mips_integer_to_address): Use gdb_byte instead of bfd_byte.
2005-06-25 11:58:35 +00:00
Mark Kettenis 57b025345d * ppcobsd-nat.c: Include "gdbcore.h", <sys/signal.h>,
<machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
(ppcobsd_supply_pcb): New function.
(_initialize_ppcobsd_nat): Enable libkvm interface.
* Makefile.in (ppcobsd-nat.o): Update dependencies.
* config/powerpc/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
2005-06-25 11:54:29 +00:00
gdbadmin a9bb6d8ab6 *** empty log message *** 2005-06-25 00:00:33 +00:00
Mark Kettenis c32adc783a * config/powerpc/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
2005-06-24 21:15:38 +00:00
Mark Kettenis 0ae4f2cb51 * ppcobsd-nat.c: Include "gdbcore.h", <sys/signal.h>,
<machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
(ppcobsd_supply_pcb): New function.
(_initialize_ppcobsd_nat): Enable libkvm interface.
* Makefile.in (ppcobsd-nat.o): Update dependencies.
2005-06-24 21:11:39 +00:00
Corinna Vinschen 772562f8ac * i386-tdep.c (struct i386_frame_cache): Define sp_offset as LONGEST. 2005-06-24 08:12:32 +00:00
gdbadmin e9b986c736 *** empty log message *** 2005-06-24 00:00:08 +00:00
Andreas Schwab 4247cafddf * gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported
by Chad Harrington <harrington.chad@gmail.com>.
2005-06-23 09:21:45 +00:00
gdbadmin a92ee4bac9 *** empty log message *** 2005-06-23 00:00:03 +00:00