Commit Graph

5 Commits

Author SHA1 Message Date
Adam Fedor 36e53c6341 * gdb/objc-lang.c (objc_printstr): Add width arg to match
printstr prototype.
(compare_selectors): Add 'const' to arg types.
(compare_classes): Likewise.
(find_imps): Cast msym pointer to avoid compiler warning.
(print_object_command): Validate the address before
passing it to the print routine.
(find_objc_msgcall_submethod): Change function argument to
return an int.
* objc-lang.h: Add 'extern' to all function declaration.
(value_nsstring): Add declaration.
2002-12-03 03:52:37 +00:00
Adam Fedor 7248f48e57 2002-10-03 Adam Fedor <fedor@gnu.org>
* objc-lang.c: ARI fixes.  Change string.h to gdb_string.h.
	(objc_demangle): Remove assignment in if statements, Replace
	free with xfree.
	(add_msglist): Likewise.
	(end_msglist): Likewise.
	(complare_selectors): Likewise.
	(selectors_info): Likewise.
	(compare_classes): Likewise.
	(classes_info): Likewise.
	(print_object_command): Likewise.
	(find_objc_msgcall_submethod): Replace PTR with void *.
	* objc-lang.h: Remove check for __STDC__.
2002-10-04 01:18:48 +00:00
Andrew Cagney 437666f82f Fix (C) and credit Michael Snyder with objc-lang.c. 2002-09-19 04:12:10 +00:00
Michael Snyder d2e6263c4a 2002-09-18 Michael Snyder <msnyder@redhat.com>
* objc-lang.c: First clean-up round: comments, indentation.
	* objc-lang.h: Ditto.
	* objc-lang.y: Ditto.
2002-09-19 00:39:38 +00:00
Michael Snyder b81654f1c0 2002-09-18 Michael Snyder <msnyder@redhat.com>
* objc-lang.c: New file, support for Objective-C.
	Preliminary check-in, not yet integrated into gdb.
        * objc-lang.h: New file.
        * objc-exp.y:  New file.
2002-09-18 23:29:20 +00:00