Commit Graph

10808 Commits

Author SHA1 Message Date
Michael Snyder e4f9b4d584 2002-01-15 Michael Snyder <msnyder@redhat.com>
* symfile.c (generic_load): Use bfd_map_over_sections method
	instead of manipulating bfd structure members directly.
	(add_section_size_callback): New function, bfd sections callback
        used by generic_load.
	(load_sections_callback): New function, bfd sections callback
        used by generic_load.
2002-01-15 20:00:56 +00:00
Elena Zannoni 08cf96df0e 2002-01-15 Elena Zannoni <ezannoni@redhat.com>
[Based on work by Jim Blandy]

	* gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
	(builtin_type_vec128): Export.

	* gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
	types.
	(builtin_type_vec128): New builtin type for 128 bit vector
	registers.
	(build_gdbtypes): Initialize builtin_type_v16qi and
	builtin_type_v8hi. Create the vec128 register builtin type
	structure.
	(build_builtin_type_vec128): New function.
 	(_initialize_gdbtypes): Register builtin_type_v16qi and
	builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.

	* rs6000-tdep.c (rs6000_register_virtual_type): Change type of
	AltiVec register to new builtin type.
2002-01-15 19:38:19 +00:00
Andrew Cagney 7064928b62 Doh. s/kdb/kbd/ 2002-01-15 19:06:22 +00:00
Andrew Cagney 8973da3a1a * gdbint.texinfo (Releasing GDB): New chapter. 2002-01-15 19:01:20 +00:00
Daniel Jacobowitz d7242108d7 2001-01-15 Daniel Jacobowitz <drow@mvista.com>
* stabsread.c (read_type): Pass dbx_lookup_type (typenums)
        to make_cv_type.
2002-01-15 16:47:17 +00:00
Andrew Cagney 4ee3352dfb * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
CLEAN_UP_REGISTER_VALUE.
* regcache.c (supply_register): Update only call.
2002-01-15 02:06:47 +00:00
Andrew Cagney f015b2e7fc Mark all 29k targets as obsolete (second attempt to commit this). 2002-01-15 01:52:37 +00:00
Andrew Cagney 7d86b5d55d * gdb.texinfo (Embedded Processors, Calling program functions):
Obsolete references to a29k.
2002-01-15 01:38:45 +00:00
Andrew Cagney cc1cb004a9 Review cleanups() section. Add examples. 2002-01-15 01:29:24 +00:00
gdbadmin 156d18a2e6 *** empty log message *** 2002-01-15 00:00:05 +00:00
Michael Snyder 356ae49dda 2002-01-14 Michael Snyder <msnyder@redhat.com>
* linux-proc.c (linux_do_thread_registers): Ignore fpxregs
	until we can resolve portability issues.
	* gregset.h: Remove references to fpxregs.
	* gcore.c (gcore_command): Initialize note_sec to NULL.
2002-01-14 20:00:48 +00:00
gdbadmin cfc07856b8 *** empty log message *** 2002-01-14 00:00:02 +00:00
Daniel Jacobowitz e017c81f1f 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
        for slightly dubious v2 mangled string.
2002-01-13 23:54:10 +00:00
Daniel Jacobowitz 37ab3bf83d 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2002-01-13 22:13:06 +00:00
Andrew Cagney ade8f45eaf Rewrite target_signal_to_name(). 2002-01-13 21:58:16 +00:00
Andrew Cagney 89c49e7acb From Petr Ledvina <ledvinap@kae.zcu.cz>:
* signals.c (target_signal_to_name): Verify that SIG is within the
bounds of the signals array.
2002-01-13 21:11:38 +00:00
Andrew Cagney 4daa9f9f37 * MAINTAINERS: Remove arm-coff and arm-pe from target list. 2002-01-13 20:43:46 +00:00
Keith Seitz ba4bbdcb1e * stack.c (print_frame_info_base): Print the frame's pc
only if when print_frame_info_listing_hook is not defined.
2002-01-13 20:19:28 +00:00
Keith Seitz 575bbeb6ee * varobj.c (varobj_set_value): Make sure that there were no
errors evaluating the object before attempting to set its
        value.
        value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
        so this offset adjustment is no longer necessary.
        (create_child): Don't set the error flag if the child is
        a CPLUS_FAKE_CHILD.
        (value_of_child): If value_fetch_lazy fails, return NULL
        so that callers will be notified that an error occurred.
        (c_value_of_variable): Delay check of variable's validity
        until later. We actually want all structs and unions to have
        the value "{...}".
        Do not return "???" for variables which could not be evaluated.
        This error condition must be returned to the caller so that it
        can get the error condition from gdb.
        (cplus_name_of_child): Adjust index for vptr before figuring
        out the name of the child.
        (cplus_value_of_child): If a child's (real) parent is not valid,
        don't even bother trying to give a value for it. Just return
        an error. Change all instances in this function.
        (cplus_type_of_child): If our parent is one of the "fake"
        parents, we need to get at the type of the real parent, and
        derive the child's true type using this information.
2002-01-13 20:17:55 +00:00
Andrew Cagney b76898ab5d From 2002-01-09 John Marshall <johnm@falch.net>:
* CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
sources.redhat.com, and tweak some related URLs which had
suffered from linkrot.
2002-01-13 16:16:58 +00:00
Andrew Cagney b6649e8838 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
structures passed in registers.
2002-01-13 15:48:56 +00:00
Eli Zaretskii 82cc503325 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
white space which prevented compilation.  Reported by DSK
	<dsk@student.unsw.edu.au>.
2002-01-13 09:51:22 +00:00
Michael Snyder fbd3554072 2002-01-11 Michael Snyder <msnyder@redhat.com>
* symfile.c (build_section_addr_info_from_section_tab):
        Use bfd access method instead of manipulating bfd directly.
        (syms_from_objfile): Ditto.
        (simple_overlay_update_1): Ditto.
        (simple_overlay_update): Ditto.
        (generic_load): Ditto.
        (overlay_unmapped_address): FIXME comment, bfd access methods.
        (sections_overlap): FIXME comment, bfd access methods.
        (pc_in_mapped_range): FIXME comment, bfd access methods.
        (pc_in_unmapped_range): FIXME comment, bfd access methods.
        (section_is_mapped): FIXME comment, bfd access methods.
        (section_is_overlay): FIXME comment, bfd access methods.
2002-01-13 05:59:30 +00:00
gdbadmin 75a20643de *** empty log message *** 2002-01-13 00:00:33 +00:00
Michael Snyder ba5f2f8ad2 2002-01-11 Michael Snyder <msnyder@redhat.com>
* symfile.c (generic_load): Whitespace and long line cleanups.
        Remove duplicate variable, change several local variables to
        more appropriate data types.
        (print_transfer_performance): Use %lu instead of %ld for ulongs.
2002-01-12 23:44:26 +00:00
Andrew Cagney 17df2af65c Use phex_nz() not printf 2002-01-12 20:00:07 +00:00
Elena Zannoni 538a76d6b8 Update Copyright year. 2002-01-12 16:38:47 +00:00
Elena Zannoni ec920329eb 2002-01-12 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
	the function.
2002-01-12 16:29:44 +00:00
Andrew Cagney 3abd2e019d * language.c (longest_raw_hex_string): Delete unused function. 2002-01-12 05:19:10 +00:00
gdbadmin 6fe757f684 *** empty log message *** 2002-01-12 00:00:03 +00:00
Michael Snyder 79f1224722 2002-01-11 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (Choosing files): Change @samp to @file.
2002-01-11 20:24:14 +00:00
Petr Sorfa b21b22e068 1) Handling of the DW_AT_byte_size attribute when processing a
DW_TAG_string_type (this is acceptable under the current DWARF 2.1/3.0
standard.)
2) In read_tag_string_type(), a fix for FORTRAN that propagates the
first string length to all string types. This is important as FORTRAN
strings are not delimited as in C/C++.
3) Handling of the DW_LANG_Fortran95.
2002-01-11 16:56:04 +00:00
Petr Sorfa 41ae02c9ea Added Self to Write After Approval 2002-01-11 16:51:03 +00:00
Richard Earnshaw 747fe7125b * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
GETPID(inferior_ptid).
(store_inferior_registers): Likewise.
2002-01-11 10:46:15 +00:00
Jason Merrill f1bea926d1 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
Fix DW_OP_minus.
2002-01-11 09:32:50 +00:00
Michael Snyder 352ed7b4c2 2002-01-10 Michael Snyder <msnyder@redhat.com>
* NEWS: Mention --pid and corefile/proc-id behavior change.
2002-01-11 01:46:17 +00:00
Andrew Cagney ae940673aa * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
and bfd/elf32-sh-nbsd.c.
2002-01-11 01:13:26 +00:00
gdbadmin 32e230beae *** empty log message *** 2002-01-11 00:00:35 +00:00
Michael Snyder c18be923ef 2002-01-10 Michael Snyder <msnyder@redhat.com>
* Makefile.in: Add rules for gcore.o and linux-proc.o.
	* gcore.c: Include cli/cli-decode.h instead of command.h.
2002-01-10 23:32:25 +00:00
Michael Snyder 198377909c 2002-01-05 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (--pid): Document new command line option (attach).
2002-01-10 23:03:35 +00:00
Michael Snyder 00546b04b2 2002-01-10 Michael Snyder <msnyder@redhat.com>
* main.c (captured_main): Add new command line option "--pid".
	If the second command line argument (following the symbol-file)
	begins with a digit, try to attach to it before trying to open
	it as a corefile.
	(print_gdb_help): Document the "--pid" argument.
2002-01-10 23:03:08 +00:00
Jason Merrill 1bc05c3a56 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
* gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
        constructors.
        * gdb.c++/derivation.exp: Likewise.
        * gdb.c++/templates.exp: Likewise.
        * gdb.c++/virtfunc.exp: Likewise.
2002-01-10 20:46:16 +00:00
Michael Snyder 7b2ac63ba0 2002-01-10 Michael Snyder <msnyder@redhat.com>
* gdb.c++/namespace.exp: Accept both '\0' and '\000'.
2002-01-10 18:27:09 +00:00
Jason Merrill ce520b11b3 update copyright 2002-01-10 17:48:03 +00:00
Jason Merrill ffcb195b51 * gdb.c++/namespace.exp: '\0', not '\000'. 2002-01-10 13:21:58 +00:00
Eli Zaretskii db60ec6263 * completer.c (command_completer): New function.
* completer.h <command_completer>: Add prototype.

	* cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
	completer for the "help" command.
2002-01-10 08:15:58 +00:00
Jason Merrill 39c22d1ade * c-typeprint.c (is_type_conversion_operator): Fix thinko. 2002-01-10 00:06:02 +00:00
gdbadmin 155ca243e1 *** empty log message *** 2002-01-10 00:00:34 +00:00
Michael Snyder 975aec09bd 2002-01-09 Michael Snyder <msnyder@redhat.com>
* i386-linux-nat.c (fill_fpxregset): Make global.
	(store_fpxregset): Ditto.
2002-01-09 22:32:16 +00:00
Michael Snyder db4a10fae4 2002-01-09 Michael Snyder <msnyder@redhat.com>
* gregset.h (gdb_fpxregset_t): Define.
	(supply_fpxregset): Prototype.
	(fill_fpxregset): Prototype.
2002-01-09 20:48:43 +00:00