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.
21 years ago
Andreas Schwab
99efcb59ee
* observer.sh: Use different temporary file name depending on mode
of operation to avoid clash during parallel build.
21 years ago
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.
21 years ago
Wu Zhou
ec502284db
* tui/tui-win.c (parse_scrolling_args): Fix SEGV error with invalid
scroll commands.
21 years ago
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.
21 years ago
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.
21 years ago
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.
21 years ago
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.
21 years ago
Ben Elliston
eb2dec72ab
* Makefile.in (RUNTEST): Set to runtest.
21 years ago
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.
21 years ago
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.
21 years ago
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 *'.
21 years ago
Steve Ellcey
3ad976515e
* MAINTAINERS (Write After Approval): Add myself.
21 years ago
Mark Kettenis
bba93f6c2c
* solib-svr4.c: Include "solib.h".
* Makefile.in (solib-svr4.o): Update dependencies.
21 years ago
Mark Kettenis
edf8c5a3cc
* eval.c (evaluate_struct_tuple): Use strcmp instead of
DEPRECATED_STREQ.
21 years ago
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.
21 years ago
Wu Zhou
c54d24cb8b
* gdbtypes.c (get_discrete_bounds): Fix a comment typo.
21 years ago
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 *'.
21 years ago
Mark Kettenis
870cd05e24
* mips-tdep.c (mips_xfer_register, mips_o32_return_value)
(mips_integer_to_address): Use gdb_byte instead of bfd_byte.
21 years ago
Mark Kettenis
c32adc783a
* config/powerpc/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
21 years ago
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.
21 years ago
Corinna Vinschen
772562f8ac
* i386-tdep.c (struct i386_frame_cache): Define sp_offset as LONGEST.
21 years ago
Andreas Schwab
4247cafddf
* gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported
by Chad Harrington <harrington.chad@gmail.com>.
21 years ago
Mark Kettenis
c8d511af85
* remote.c (extended_remote_restart): Pass buffer in call to
xsnprintf instead of a pointer to the buffer.
21 years ago
Andrew Cagney
e990a46e0d
2005-06-21 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: List GDB's Steering Committee as responsible for
GDB's maintenance.
21 years ago
Mark Kettenis
7a4609f7bb
* inf-ttrace.c (inf_ttrace_xfer_partial): Change type of readbuf
and writebuf arguments to `gdb_byte *'.
21 years ago
Wu Zhou
72429025ee
* MAINTAINERS (Write After Approval): Add myself.
21 years ago
Mark Kettenis
dc28f363f5
* hppabsd-tdep.c: Include "symtab.h", "objfiles.h", "target.h",
"value.h" and "elf/common.h".
(hppabsd_supply_gregset): Use `gdb_byte *' for byte buffer.
(hppabsd_find_global_pointer): New function.
(hppabsd_init_abi): Set TDEP->find_global_pointer to
hppabsd_find_global_pointer.
* Makefile.in (hppabsd-tdep.o): Update dependencies.
21 years ago
Mark Kettenis
99d64d771c
* hppa-tdep.c (hppa_pointer_to_address_hack): Remove function.
(unwind_command): Use %lx to print pointer.
21 years ago
Mark Kettenis
8d7337bf3d
* remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype.
Change type of second argument to`gdb_byte *'.
21 years ago
Nick Roberts
29629dcf1e
*** empty log message ***
21 years ago
Mark Kettenis
4ba6a9753f
* hppa-tdep.c (hppa_fallback_frame_cache): Don't error out if we
can't find the bounds of the current function. Wrap some long
lines in the process.
21 years ago
Mark Kettenis
6618125dce
* regcache.c (regcache_raw_supply, regcache_raw_collect): Change
type of last argument back to `void *'.
* regcache.h (regcache_raw_supply, regcache_raw_collect): Likewise.
21 years ago
Nick Roberts
74f6deaacd
*** empty log message ***
21 years ago
Wu Zhou
39be55309b
* remote.c (set_thread, remote_thread_alive): Replace sprintf
call with xsnprintf.
(remote_threads_extra_info, extended_remote_restart)
(remote_check_symbols, store_register_using_P)
(compare_sections_command): Ditto.
21 years ago
David Ung
f56c189da1
* MAINTAINERS (Write After Approval): Add self.
21 years ago
Mark Kettenis
3ab8e615c9
Fix my e-mail address in previous commit.
21 years ago
Mark Kettenis
0d559b9924
* hppa-hpux-nat.c (hppa_hpux_fetch_register)
(hppa_hpux_store_register): Add casts in extract_unsigned_integer
and store_usigned_integer calls.
21 years ago
Mark Kettenis
45e11c33f1
Fix typo.
21 years ago
Nick Roberts
c20099015b
*** empty log message ***
21 years ago
Mark Kettenis
3be60c3d27
* configure.ac: Use AC_CHECK_TYPES to check for uintptr_t.
* configure, config.in: Regenerate.
21 years ago
Mark Kettenis
f9f87d2ca6
* ser-tcp.c: Tewak comment.
[!HAVE_SOCKLEN_T]: Typedef socklen_t.
* configure.ac: Add check for socklen_t.
* configure, config.in: Regenerate.
21 years ago
H.J. Lu
43259571ac
2005-06-13 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/linux64.mt (TDEPFILES): Add symfile-mem.o.
21 years ago
Richard Sandiford
d738fe6d01
* MAINTAINERS: Update my email address.
21 years ago
Mark Mitchell
9f76c2cd17
* corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.
* exec.c (exec_file_attach): Likewise.
* solib-frv.c (enable_break2): Likewise.
* solib-svr4.c (enable_break): Likewise.
* solib.c (solib_map_sections): Likewise.
* symfile.c (symfile_bfd_open): Likewise.
21 years ago
Daniel Jacobowitz
c1bd25fd1d
gdb/
* Makefile.in (symfile.o): Add $(exec_h).
* exec.h (exec_set_section_address): Add prototype.
* exec.c (exec_set_section_address): New function.
* symfile.c: Include "exec.h".
(struct place_section_arg, place_section): New.
(default_symfile_offsets): Call place_section for each
section of a relocatable file.
gdb/testsuite/
* gdb.base/relocate.c: Add a copyright notice.
(dummy): Remove.
* gdb.base/relocate.exp: Test printing the values of variables
from a relocatable file.
21 years ago
Joel Brobecker
7b5c6b52e4
* hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all
bits of top byte in address.
21 years ago
Wu Zhou
df0ca54784
* eval.c (evaluate_subexp_standard): Add code to check the target
type of a TYPE_CODE_PTR value when we encounter a f77 undetermined
arglist. If it is array, string or function, work on the target
value instead.
21 years ago
Daniel Jacobowitz
589e074d2e
gdb/
* mi/mi-main.c (register_changed_p, get_register): Use
get_selected_frame.
(mi_execute_command): Call mi_out_rewind after an error.
testsuite/
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
excess MI output after an error.
21 years ago
Mark Kettenis
e127f0db71
* hppa-tdep.c (hppa_frame_prev_register)
(hppa_fallback_frame_prev_register)
(hppa_stub_frame_prev_register): Change type of last argument to
`gdb_byte *'.
(hppa_fetch_pointer_argument): Tweak comment. Use
get_frame_register_unsigned instead of get_frame_register.
(hppa32_return_value, hppa64_return_value): Change type of readbuf
and writebuf arguments to `gdb_byte *'. Remove unecessary casts
and local variables.
(hppa_pseudo_register_read): Change type of last argument to
`gdb_byte *'.
21 years ago