GDB that can debug Mach-Os on Linux
Go to file
Ian Lance Taylor 219deb70ce Initial support for MRI style labels and expressions.
* as.h (flag_mri): Declare/define.
	* as.c (show_usage): Mention -M and its synonym --mri.
	(parse_args): Add 'M' to std_shortopts.  Add "mri" to
	std_longopts.  Set flag_mri if -M is seen.
	(main): Call parse_args before input_scrub_begin.  Call
	expr_begin.
	* app.c (do_scrub_begin): Don't set lex for '"' or '\'' in MRI
	mode.  Do set lex for ';', '*', and '!' in MRI mode.
	(do_scrub_next_char): Remove MRI ifdef in LEX_IS_WHITESPACE case.
	In MRI mode, keep spaces between labels and colons.  Remove MRI
	ifndef around LEX_IS_ONECHAR_QUOTE case.  In MRI mode, don't use
	'!' or '*' as comment characters even if they are in
	comment_chars.
	* read.h (lex_type): No longer const.
	* read.c: Include libiberty.h.
	(lex_type): No longer const.
	(read_begin): In MRI mode, set lex_type of '?' to 3.
	(potable): Add dc, dc.b, dc.d, dc.l, dc.s, dc.w, dc.x, ds, ds.b,
	ds.l, ds.w, and xdef.
	(read_a_source_file): Change LABELS_WITHOUT_COLON ifdef to check
	for MRI mode at runtime rather than compile time.  Handle the EQU
	pseudo-op in MRI mode.  Remove bogus MRI ifdef around done_pseudo.
	Change NO_PSEUDO_DOT ifdef to also take effect for MRI mode at
	runtime.
	(cons): In MRI mode, always call parse_mri_cons rather than
	TC_PARSE_CONS_EXPRESSION.
	(parse_mri_cons): Always compile, not just when MRI is defined.
	Call TC_PARSE_CONS_EXPRESSION, not expression, when the input is
	not a string constant.  Handle A and E modifiers.
	(float_cons): Accept :xxxx, where the x's are hex digits.
	* expr.h (operatorT): Add O_eq, O_ne, O_lt, O_le, O_ge, O_gt.
	(expr_begin): Declare.
	* expr.c (integer_constant): In MRI mode, if the base was not
	specified, look for a suffix on the number to set the base.
	(mri_char_constant): New static function.
	(operand): Remove MRI ifdef.  In MRI mode, do various things: Pass
	0 as the base when calling integer_constant if there was no
	prefix.  Check for a hex constant suffix if when a leading '0' is
	seen.  Don't accept 0x or 0b as a prefix.  Check for E'chars' and
	A'chars'.  Handle MRI character constants.  Treat '"' as the
	unary bitwise not operator.  Treat $ as the program counter, or as
	the prefix for a hex constant.  Treat % as the prefix for a binary
	constant and @ as the prefix for an octal constant.  Treat : as
	the prefix for a hex constant.
	(op_encoding): Set '"' to O_bit_not, '<' to O_lt, and '>' to O_gt.
	(op_rank): No longer const.  Change rank values.
	(expr_begin): New function.
	(operator): New static function.
	(expr): Use operator.  Don't bother to mention the operator in
	warnings.  Remove bogus #if 0 code.  Handle new operatorT values.
	* atof-generic.c (atof_generic): In MRI mode, accept underscores
	around the exponent in floating point numbers.
	* symbols.h (symbols_case_sensitive): Declare.
	* symbols.c (symbols_case_sensitive): New global variable.
	(symbol_create): Check symbols_case_sensitive.
	(symbol_find_base): Likewise.
	(resolve_symbol_value): Handle new operatorT values.
	(print_expr_1): Likewise.
	(S_IS_LOCAL): In MRI mode, names beginning with two '?' characters
	are local.
1995-08-01 22:01:01 +00:00
bfd * ecofflink.c (_bfd_ecoff_locate_line): When handling stabs: 1995-07-24 21:42:41 +00:00
binutils * strings.c (print_strings): For compatibility with existing 1995-07-31 17:24:17 +00:00
config Renamed. 1995-07-03 21:22:00 +00:00
gas Initial support for MRI style labels and expressions. 1995-08-01 22:01:01 +00:00
gdb * configure.in: Check for working mmap, ansi headers, string.h, 1995-08-01 20:14:27 +00:00
gprof * core.c (get_src_info): Cast arg 7 of bfd_find_nearest_line 1995-07-20 22:13:40 +00:00
include fsf address update, but not in COPYING files 1995-07-07 22:49:42 +00:00
ld treat linuxoldld like linuxaout* 1995-07-28 01:43:15 +00:00
mmalloc * Makefile.in, configure.in: Converted to use autoconf. 1995-05-04 00:21:18 +00:00
opcodes Initial autoconfiscation; attempting also to remove use of bfd's sysdep.h file. 1995-07-12 05:07:49 +00:00
readline inc-hist.texi: gdb manual up to date for 95q3 1995-06-22 21:30:02 +00:00
sim forgot to check this in 1995-07-05 23:51:30 +00:00
.Sanitize Clean up handling of COPYING.NEWLIB. 1995-07-25 22:05:00 +00:00
Build-A-Release.mk didn't get propagated from progressive to devo. 1992-07-31 17:33:55 +00:00
build-all.mk update target lists for all hosts 1995-05-18 09:16:59 +00:00
cfg-ml-com.in * cfg-ml-com.in (z8k-*-coff): Add 'std' multilib build. 1995-07-31 16:57:38 +00:00
cfg-ml-pos.in Document sed bug. 1995-07-27 21:37:26 +00:00
ChangeLog * cfg-ml-pos.in (dotdot): Work around SunOS sed bug. 1995-07-27 21:36:29 +00:00
config.guess * config.guess: Add hppa1.1-hp-lites support. 1995-04-26 16:59:33 +00:00
config.sub * Makfile.in (DLLTOOL_FOR_TARGET): New name, pass it down. 1995-07-03 22:02:03 +00:00
configure Handle autoconfiscated directories by running the correct configure script. 1995-06-21 20:57:03 +00:00
configure.bat additions for binutils release from dj 1994-10-22 02:17:33 +00:00
configure.in (arm-*-pe): Build libg++. 1995-07-27 23:17:59 +00:00
DOC.Sanitize Remove mention of no-longer-needed keep-mpw, add mention of lose-gdbtk. 1995-05-29 20:52:31 +00:00
INSTALL Nearly complete. Still needs pointer to "more doc". 1991-04-13 07:41:11 +00:00
install-texi.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
Install.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
install.sh * install.sh: If $dstdir exists, don't check whether each component does. 1994-04-27 19:19:56 +00:00
intro.texi Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
makeall.bat additions for binutils release from dj 1994-10-22 02:17:33 +00:00
Makefile.in * Makfile.in (DLLTOOL_FOR_TARGET): New name, pass it down. 1995-07-03 20:47:27 +00:00
mpw-build.in Sun Feb 27 16:05:15 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-28 00:15:29 +00:00
mpw-config.in Sun Feb 27 16:05:15 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-28 00:15:29 +00:00
mpw-configure Thu Mar 17 12:55:51 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-03-17 23:02:58 +00:00
mpw-README Sun Feb 27 16:05:15 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-28 00:15:29 +00:00
Pack-A-Progressive Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
SUPPORTED Initial revision 1991-06-12 21:44:36 +00:00
tape-labels-tex.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
test-build.mk add support for i386-unixware target, m68k-vxworks5.1 target, i960-vxworks5.1 target... always configure with --enable-gdbtk 1995-05-18 09:27:23 +00:00