Commit Graph

10623 Commits

Author SHA1 Message Date
Jim Blandy 99ebe9acce * gdb.base/printcmds.exp: Expect the null character to be printed
as '\0', and the '\013' to be printed as '\v'.
* gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
* gdb.base/setvar.exp: Same.
2001-12-19 06:29:45 +00:00
Jim Blandy ae23c7a369 * c-lang.c (c_emit_char): Print ASCII 11 as '\v', to match
ISO C, and our parser.  Print ASCII 0 as '\0', since that's what
people are used to seeing.
2001-12-19 06:29:18 +00:00
Jim Blandy 78a5120271 * c-lang.c (c_printstr, c_builtin_types, cplus_builtin_types):
Fix indentation.
2001-12-19 03:07:08 +00:00
Jim Blandy c0d4a49f4e * Makefile.in (c-exp.tab.o): Delete duplicate build rule. Fix
dependency list on remaining build rule.
2001-12-19 02:45:36 +00:00
gdbadmin c81122093f *** empty log message *** 2001-12-19 00:00:07 +00:00
Martin Hunt 67a59bc02d 2001-12-18 Martin M. Hunt <hunt@redhat.com>
* ser-tcp.c (tcp_open): Disable Nagle algorithm which
	improves performance in some cases.
2001-12-18 18:54:18 +00:00
gdbadmin 66ce524609 *** empty log message *** 2001-12-18 00:00:03 +00:00
Jim Blandy 0eba65ab18 * gdb.base/completion.exp: Rather than completing very long
filenames, which can make the readline library produce output we
don't recognize, cd to the directory first, and then complete
using nice, short relative paths.
2001-12-17 22:58:42 +00:00
Jim Blandy 6970b5b149 * gdb.base/completion.exp: On some systems, there is, in fact, a
variable named `b' in scope, since GDB treats all static
variables as being in scope.  So use `no_var_named_this'
instead of `b'.
2001-12-17 21:49:09 +00:00
Ben Harris de7dd7a986 2001-12-17 Ben Harris <bjh21@netbsd.org>
* armbsd-nat.c: Remove file, renamed to armnbsd-nat.c.
	* armnbsd-nat.c: New file, renamed from armbsd-nat.c.
	* Makefile.in: Rename armbsd-nat.c to armnbsd-nat.c.
	* config/arm/nbsd.mh: Likewise.
2001-12-17 21:14:10 +00:00
Jim Blandy b9891b29d8 * gdb.base/corefile.exp: Recognize the message saying that GDB
can't find the core file's registers as a failure.
2001-12-17 21:03:48 +00:00
Jim Blandy 47a849606f Remove accidentally committed ChangeLog entries for callfuncs.exp. 2001-12-17 20:38:57 +00:00
Corinna Vinschen c9f63e6b7f * NEWS: Note new target XStormy16.
* MAINTAINERS: Add -Werror to XStormy16.
2001-12-17 18:13:11 +00:00
Fernando Nasser 9512d7fdf5 2001-12-17 Fernando Nasser <fnasser@redhat.com>
From Richard Earnshaw <rearnsha@arm.com>:
	* arm-tdep.c (arm_software_single_step): New function. Implements
	software single-stepping for ARM targets.
	(arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Only
	needed for software single-stepping.
	* config/arm/tm-arm.h: Activate SOFTWARE_SINGLE_STEP_P.
2001-12-17 17:03:58 +00:00
Fernando Nasser c5c586eddb 2001-12-17 Fernando Nasser <fnasser@redhat.com>
From Richard Earnshaw <rearnsha@arm.com>:
        * config/arm/nbsd.mh, config/arm/nbsd.mt, config/arm/tm-nbsd.h,
        config/arm/nm-nbsd.h, config/arm/xm-nbsd.h: New files.
        * armbsd-nat.c: New file.
        * Makefile.in: Build it.
        * configure.host, configure.tgt: Support NetBSD/arm.
2001-12-17 16:37:35 +00:00
Fernando Nasser e7a42bc893 2001-12-17 Fernando Nasser <fnasser@redhat.com>
From Richard Earnshaw <rearnsha@arm.com>:
        * config/arm/nbsd.mh, config/arm/nbsd.mt, config/arm/tm-nbsd.h,
        config/arm/nm-nbsd.h, config/arm/xm-nbsd.h: New files.
        * armbsd-nat.c: New file.
        * Makefile.in: Build it.
        * configure.host, configure.tgt: Support NetBSD/arm.
2001-12-17 16:23:02 +00:00
Corinna Vinschen 7c0a2a0aaa * MAINTAINERS: Add myself as XStormy16 maintainer. 2001-12-17 15:52:33 +00:00
gdbadmin d9464f48d7 *** empty log message *** 2001-12-17 00:00:32 +00:00
Kevin Buettner 2d5177f34b Conditionally include solib.h. 2001-12-16 00:59:58 +00:00
gdbadmin 25b14e71cb *** empty log message *** 2001-12-16 00:00:04 +00:00
Andrew Cagney 33cce46887 Regenerate. 2001-12-15 18:07:57 +00:00
Andrew Cagney 8dacb7ef2e * MAINTAINERS: Remove powerpcle-eabi and rs6000-ibm-aix3.2 from
target list.
2001-12-15 17:09:04 +00:00
Andrew Cagney 778eb05eac LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE 2001-12-15 16:53:24 +00:00
Andrew Cagney a6c47c143a * ui-out.c (struct ui_out_table): Add field entry_level.
(verify_field): New function.
(verify_field_proper_position): Delete function.
(verify_field_alignment): Delete function.
(ui_out_field_int): Update to use verify_field.
(ui_out_field_skip): Ditto.
(ui_out_field_string): Ditto.
(ui_out_field_fmt): Ditto.
(ui_out_table_begin): Initialize table.entry_level.
(ui_out_table_end): Clear table.entry_level.
(ui_out_begin): Call verify_field before pushing the new tuple or
list onto the stack.  Use table.entry_level.
2001-12-15 05:18:42 +00:00
gdbadmin 32df12fa7b *** empty log message *** 2001-12-15 00:00:32 +00:00
Corinna Vinschen 2d6f4d1516 * config/djgpp/fnchange.lst: Add entries for opcodes/xstormy16-* files. 2001-12-14 09:27:42 +00:00
Matthew Green 181c33691e add myself to the write after approval list. 2001-12-14 00:28:15 +00:00
gdbadmin 99339d660e *** empty log message *** 2001-12-14 00:01:39 +00:00
Andrew Cagney ef8570deb0 Return typelength of register virtual type as size. 2001-12-13 23:48:34 +00:00
Jackie Smith Cashion e6ccd35f61 gdb/ChangeLog
2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>

	* cli/cli-script.c (print_command_lines): Remove extra
	"if", "else", "while", and "end" from show user output.

testsuite/ChangeLog
2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>

        * gdb.base/commands.exp (user_defined_command_test): Make "show user"
        test expect string more specific.
2001-12-13 22:42:23 +00:00
Kevin Buettner 5d003c9592 * i387-nat.c (i387_fill_fxsave): Change type of ``val'' from char
to short so that we don't memcpy() beyond the end of this buffer.
	Also, change shift value used in computing val to account for the
	fact that only eight bits are used.
2001-12-13 17:34:52 +00:00
Corinna Vinschen 105ba81922 * gdb.asm/asm-source.exp: Add support for xstormy16.
* gdb.asm/configure.in: Ditto.
	* gdb.asm/configure: Rebuild.
	* gdb.asm/xstormy16.inc: New file.
2001-12-13 13:42:19 +00:00
Corinna Vinschen 0c884e1782 * Makefile.in: Add support for xstormy16.
* configure.tgt: Ditto.
	* xstormy16-tdep.c: New file.
	* config/xstormy16/xstormy16.mt: New file.
2001-12-13 13:34:41 +00:00
Andreas Schwab 49d5aff7e5 * MAINTAINERS (write-after-approval): Add myself. 2001-12-13 10:29:21 +00:00
gdbadmin 2072249c02 *** empty log message *** 2001-12-13 00:00:06 +00:00
Jim Blandy 29e472bc65 * Makefile.in (c-exp.tab.o): Add missing dependencies. 2001-12-12 14:21:30 +00:00
Jim Blandy 68c4266554 * Makefile.in (c_lang_h): New variable. Use it in dependency
lists, instead of `c-lang.h' itself.
2001-12-12 14:13:24 +00:00
Fred Fish 74a9bb82c5 Approved by Jim Blandy:
2001-12-11  Fred Fish  <fnf@redhat.com>
	* c-typeprint.c (c_type_print_base): Use type flags access macros
	to test bits.
	* ch-typeprint.c (chill_type_print_base): Ditto.
	* ch-valprint.c (chill_val_print): Ditto.
	* d10v-tdep.c (d10v_pointer_to_address): Ditto.
	* dwarf2read.c (dwarf2_add_member_fn): Ditto.
	* dwarfread.c (read_structure_scope): Ditto.
	* gdbtypes.c (create_range_type): Dittol
	(create_set_type): Ditto.
	(check_typedef): Ditto.
	* jv-typeprint.c (java_type_print_base): Ditto.
	* p-typeprint.c (pascal_type_print_base): Ditto
	* p-valprint.c (pascal_val_print): Ditto.
	* stabsread.c (read_cfront_member_functions): Ditto.
	(read_member_functions): Ditto.
	(cleanup_undefined_types): Ditto.
	* valprint.c (val_print): Ditto.
	* valops.c (hand_function_call): Remove is_prototyped
	variable and just use type flag test macro directly.
2001-12-12 02:11:52 +00:00
Fred Fish e9e79dd9fc Approved by Jim Blandy:
2001-12-11  Fred Fish  <fnf@redhat.com>

	* gdbtypes.c (print_bound_type): New function.
	(recursive_dump_type): Print type struct code values
	TYPE_CODE_BITSTRING, TYPE_CODE_COMPLEX, TYPE_CODE_TEMPLATE,
	and TYPE_CODE_TEMPLATE_ARG.
	(recursive_dump_type): Print type struct members
	upper_bound_type, lower_bound_type, cv_type, and as_type.
	Also always print the tagname member, even when it is NULL.

	* testsuite/gdb.base/maint.exp: Update to match changes in
	type dumping code.
2001-12-12 02:07:12 +00:00
gdbadmin 76f53e4027 *** empty log message *** 2001-12-12 00:00:36 +00:00
Michael Snyder 0e7c5946f3 2001-12-11 Michael Snyder <msnyder@redhat.com>
* d10v-tdep.c (d10v_register_virtual_size): Delete.
	(d10v_gdbarch_init): Use generic_register_virtual_size.
	* rs6000-tdep.c (rs6000_register_virtual_size): Delete.
	(rs6000_gdbarch_init): Use generic_register_virtual_size.
	* x86-64-tdep.c (x86_64_register_virtual_size): Delete.
	(i386_gdbarch_init): Use generic_register_virtual_size.
2001-12-11 22:16:48 +00:00
Michael Snyder ce29138a6e 2001-12-10 Michael Snyder <msnyder@redhat.com>
* arch-utils.c (generic_register_virtual_size): New function.
	* arch-utils.h: Export generic version of register_virtual_size.
	* gdbarch.sh (REGISTER_VIRTUAL_SIZE): Use new function as default.
	* gdbarch.c: Regenerate.
2001-12-11 22:15:55 +00:00
Andrew Cagney 5ae326fa70 Rearange code to supress -Wuninitialized error. 2001-12-11 18:35:38 +00:00
gdbadmin ca45b5982f *** empty log message *** 2001-12-11 00:00:02 +00:00
Fred Fish 0478d61cc2 Approved by Jim Blandy:
2001-12-10  Fred Fish  <fnf@redhat.com>
	* values.c (value_fn_field): Add physname variable.  Use a minimal
	symbol if we don't find a full symbol.  Remove setting of the new
	value's type since that was already done by allocate_value().
	Remove obsolete commented out error call since callees need to
	handle a NULL return, which is possible result not an error.
	* eval.c (evaluate_subexp_standard): Move check for inlined
	functions to precede attempt to dereference a NULL argvec[0].
2001-12-10 23:05:00 +00:00
Fred Fish 9b27852e6d Approved by Jim Blandy:
2001-12-10  Fred Fish  <fnf@redhat.com>
	* arm-linux-tdep.c (skip_hurd_resolver): Use NULL rather than
	zero in args to lookup_minimal_symbol.
	* linespec.c (decode_line_1): Ditto.
	* i386-linux-tdep.c (skip_hurd_resolver): Ditto.
	* minsyms.c (find_stab_function_addr): Ditto.
	* symfile.c (simple_read_overlay_table): Ditto.
	(simple_read_overlay_region_table): Ditto.
2001-12-10 22:04:10 +00:00
Jim Blandy 347dc97d2d * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
matching the entry point symbol's name at the beginning of the
line.
2001-12-10 20:30:00 +00:00
Fred Fish 762a036f9a Approved by Jim Blandy:
2001-12-09  Fred Fish  <fnf@redhat.com>
	* gdbtypes.c (TYPE_FLAG_UNSIGNED, TYPE_FLAG_STUB): Use
	TYPE_UNSIGNED and TYPE_NOSIGN to determine when to print these
	rather than testing the bits directly.
	(TYPE_FLAG_NOSIGN, TYPE_FLAG_TARGET_STUB, TYPE_FLAG_STATIC,
	TYPE_FLAG_CONST, TYPE_FLAG_VOLATILE, TYPE_FLAG_PROTOTYPED,
	TYPE_FLAG_INCOMPLETE, TYPE_FLAG_CODE_SPACE, TYPE_FLAG_DATA_SPACE,
	TYPE_FLAG_VARARGS): Test for and print these bits as well.
2001-12-10 06:23:21 +00:00
Fred Fish 34a2fedd5a Approved by Jim Blandy:
2001-12-09  Fred Fish  <fnf@redhat.com>
	* gdbtypes.c (build_gdbtypes): For builtin_type_char, pass
	TYPE_FLAG_NOSIGN to init_type() rather than setting it after the
	type is created.
2001-12-10 06:19:51 +00:00
Fred Fish aa468c6030 Approved by Jim Blandy:
2001-12-09  Fred Fish  <fnf@redhat.com>
	* gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_CONST,
	TYPE_VOLATILE, TYPE_INCOMPLETE): Move macros that test the
	bits to location in file where the bits are defined.
	(TYPE_STUB, TYPE_TARGET_STUB, TYPE_STATIC, TYPE_PROTOTYPED,
	TYPE_CODE_SPACE, TYPE_DATA_SPACE): New test macros.
2001-12-10 06:17:01 +00:00