Commit Graph

18273 Commits

Author SHA1 Message Date
gdbadmin 4db8334481 *** empty log message *** 2005-03-25 00:00:08 +00:00
gdbadmin c0726462f0 *** empty log message *** 2005-03-24 00:01:07 +00:00
Martin Hunt b3041f52a5 2005-03-23 Martin Hunt <hunt@redhat.com>
* configure.ac: Remove -fwritable-strings from CFLAGS.
        * configure: Regenerate.
2005-03-23 19:17:42 +00:00
gdbadmin c410d862c1 *** empty log message *** 2005-03-23 00:00:03 +00:00
gdbadmin 53107cc4a4 *** empty log message *** 2005-03-22 00:01:39 +00:00
Michael Snyder 6a069e5719 2005-03-21 Michael Snyder <msnyder@redhat.com>
* mn10300-prologue.c (fix_frame_pointer): Delete.
	(set_movm_offsets) Don't return just because movm_args is
	zero -- still need to save pc and sp in saved_regs.
	(mn10300_analyze_prologue): Don't return prematurely without
	calling set_movm_offsets (for pc and sp at minimum).
2005-03-21 23:23:32 +00:00
Mark Mitchell d3ea68091c * configure.ac (stat.st_blksize): Check for it.
(getuid): Likewise.
	(getgid): Likewise.
	* configure: Regenerated.
	* config.in: Likewise.
	* remote-fileio.c (remote_fileio_to_fio_stat): Check
	HAVE_STRUCT_STAT_ST_BLKSIZE.
2005-03-21 21:23:35 +00:00
Christopher Faylor d460b7f5da * win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.
(do_initial_child_stuff): Move clearing of thread list to a place before a
thread ould be created.
(child_attach): Ditto.
2005-03-21 19:54:15 +00:00
Michael Snyder 342ee437fb 2005-03-21 Michael Snyder <msnyder@redhat.com>
* mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
	instead of pc addr for frame_id.  Otherwise "until" won't work.
2005-03-21 19:31:46 +00:00
Kevin Buettner 4f0d78e096 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
comment.
2005-03-21 18:09:47 +00:00
gdbadmin 416d115519 *** empty log message *** 2005-03-21 00:00:06 +00:00
Mark Kettenis 4dd0443396 * dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
* varobj.c (my_value_equal): Mark val2 as volatile.
2005-03-20 20:30:35 +00:00
Mark Kettenis ee426e0ff6 Fix typo. 2005-03-20 20:15:56 +00:00
Mark Kettenis 80d9c5928e * cp-names.y: Add prototype for yylex. 2005-03-20 16:26:44 +00:00
gdbadmin 94250f706d *** empty log message *** 2005-03-20 00:00:34 +00:00
Daniel Jacobowitz 96ce45cadb * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
* gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
	VALADDR.
2005-03-19 19:44:10 +00:00
gdbadmin 2eea5cc9c9 *** empty log message *** 2005-03-19 00:00:07 +00:00
Kevin Buettner 93ad78a72d Move printing of TLS related error messages to dwarf2loc.c. 2005-03-18 21:03:39 +00:00
Mark Kettenis 8cf46f625a * utils.c (safe_strerror): Use xsnprintf instead of sprintf.
(decimal2str, octal2str): Change to return a string allocated by
get_cell.  Use xsnprint instead of snprintf.
(paddr_u, paddr_d): Adjust for changed calling convention of
decimal2str.
(phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
(int_string): Likewise.  Adjust for changed calling convention of
decimal2str and octal2str.
2005-03-18 20:46:38 +00:00
Kevin Buettner f79d2c3cf8 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
Adjust incorrectly computed constant for realtime signal frame.
2005-03-18 20:23:28 +00:00
Mark Kettenis eb3088784c From Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.tgt: Add m68*-*-rtems*.
2005-03-18 18:59:17 +00:00
gdbadmin c4cc240536 *** empty log message *** 2005-03-18 00:00:37 +00:00
Mark Kettenis bde2058dde * defs.h (xsnprintf): New prototype.
* utils.c (xsnprintf): New function.
2005-03-17 22:11:09 +00:00
Mark Kettenis 3ecda4574e * corelow.c (get_core_register_section): Replace usage of sprintf
and strcpy with xstrprintf and xstrdup.
2005-03-17 22:07:42 +00:00
Mark Kettenis 06648491d7 * mips-tdep.c (mips_single_step_through_delay): Put back check for
breakpoint lost with the introduction of this function.
2005-03-17 18:07:46 +00:00
Paul Brook 16aff9a677 2005-03-17 Paul Brook <paul@codesourcery.com>
* amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
	* s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.
2005-03-17 17:44:14 +00:00
gdbadmin 8c863dc10a *** empty log message *** 2005-03-17 00:00:03 +00:00
Mark Mitchell ec442778f9 * event-top.c (handle_sigquit): Do not define for systems without
SIGQUIT.
	(sigquit_token): Likewise.
	(async_init_signals): Allow for systems that do not
	define SIGQUIT.
	* ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
2005-03-16 17:07:17 +00:00
Mark Mitchell 6d318c73e1 * event-top.c (async_init_signals): Allow for systems that do not
define SIGQUIT.
	* ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
2005-03-16 17:05:31 +00:00
Mark Mitchell 9b265ec209 * utils.c (internal_vproblem): Guard call to fork with
HAVE_WORKING_FORK.
	* cli/cli-cmds.c (shell_escape): Guard call to vfork with
	HAVE_WORKING_VFORK and HAVE_WORKING_FORK.

	* remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of
	S_IRGRP and related macros.
	(remote_fileio_mode_to_target): Likewise.
2005-03-16 15:58:41 +00:00
gdbadmin afee91aefd *** empty log message *** 2005-03-16 00:00:03 +00:00
gdbadmin 20401ce345 *** empty log message *** 2005-03-15 00:00:32 +00:00
Paul Brook 8e3049aa8c 2005-03-14 Paul Brook <paul@codesourcery.com>
* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
	targets.
2005-03-14 15:42:52 +00:00
Ben Elliston 3ae642fdf3 * Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
more primitive library.
2005-03-14 03:09:45 +00:00
gdbadmin 0c6003d200 *** empty log message *** 2005-03-14 00:00:33 +00:00
Mark Kettenis fd0a2a6f0c * inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
sprintf.
* target.c (normal_pid_to_str): Likewise.
* remote.c (remote_pid_to_str): Use snprint instead of sprintf.
Change capitalization of "thread".  Use ptid_get_pid instead of
GETPID.
2005-03-13 22:06:10 +00:00
Mark Kettenis 049742daef * cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
a combination of xmalloc and sprintf.
2005-03-13 19:55:38 +00:00
Jim Blandy ca231fcc24 * configure.ac: Use '=', not '=='; the latter is a GNU extension.
* configure: Regenerated.
2005-03-13 05:37:48 +00:00
gdbadmin f996f4135f *** empty log message *** 2005-03-13 00:00:02 +00:00
gdbadmin f1210edfba *** empty log message *** 2005-03-12 00:00:05 +00:00
Michael Snyder b80b83f36a 2005-03-11 Michael Snyder <msnyder@redhat.com>
* mn10300-tdep.c (mn10300_dummy_unwind_dummy_id): Replace
	stub fn with real implementatin mn10300_unwind_dummy_id.
	(mn10300_push_dummy_call): Implement.  Bare bones version,
	does not handle structs or floats.
2005-03-11 23:16:47 +00:00
Jim Blandy a3b362c440 Avoid warnings due to the use of -Wuninitialized without -O.
* configure.ac (build_warnings): Include -Wuninitialized only if
CFLAGS is unset at configure time, or CFLAGS is set and includes
some -O option other than -O0.
* configure: Regenerated.
2005-03-11 21:02:02 +00:00
Jim Blandy 1f8ca57c49 * mips-tdep.c (show_mips_abi): Change calling conventions to match
those expected by add_setshow_enum_cmd.  Use 'file' argument as
appropriate.
2005-03-11 20:27:56 +00:00
Daniel Jacobowitz fb4c6eba43 * Makefile.in (SFILES): Add cp-names.y.
(libiberty_h, safe_ctype_h): New.
	(YYFILES): Add cp-names.c.
	(YYOBJ): Add cp-names.o.
	(test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
	(clean): Remove test-cp-names$(EXEEXT).
	(local-maintainer-clean): Remove cp-names.c.
	* cp-names.y: New file.
	* cp-support.c (find_last_component): Delete.
	(d_left, d_right): Define.
	(cp_canonicalize_string, mangled_name_to_comp): New functions.
	(cp_class_name_from_physname, method_name_from_physname): Rewrite
	to use mangled_name_to_comp.
	* cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
	(cp_comp_to_string): New prototypes.
	* config/djgpp/fnchange.lst: Add cp-names.c.
2005-03-11 02:24:23 +00:00
gdbadmin 9460aecf6f *** empty log message *** 2005-03-11 00:00:05 +00:00
Bob Rossi 5b93de64c0 Remove the --[no]async command line switch from --help 2005-03-10 20:49:08 +00:00
Bob Rossi 7d51c7de80 Add 2005 to doco copyright 2005-03-10 13:12:33 +00:00
Mark Kettenis 54433e3802 * proc-api.c: Update copyright year.
(_initialize_proc_api): Revert previous patch, removing spurious
space instead.
2005-03-10 09:11:10 +00:00
Joel Brobecker d2f0b918d1 * regcache.c: Fix typo in comment. 2005-03-10 02:43:23 +00:00
gdbadmin 71892b490c *** empty log message *** 2005-03-10 00:00:35 +00:00