This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH ARM add new set/show arm commands


This patch starts the process of moving the arm-specific set/show options 
into a sub-group.  For the moment I've only done this for the set/show 
disassembly-flavor command, where I've also taken the opportunity to drop 
"flavor" from the command (it's non-intuitive if you speak English-English 
:-)

So we now have

	set arm disassembly

and 

	show arm disassembly

The options to this command are identical to those we had before.

Finally, I've marked the old commands as deprecated, and in addition I've 
marked the really old "othernames" command similarly.

Patches to move other arm-specific commands to this new style will follow 
shortly.

R.

2003-03-22  Richard Earnshaw  <rearnsha at arm dot com>

	* arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
	(set_arm_command, show_arm_command): New functions.
	(_initialize_arm_tdep): Add them.
	(num_disassembly_options): Renamed from num_flavor_options.
	(valid_disassembly_styles): Renamed from valid_flavors.
	(disassembly_style): Renamed from disassembly_flavor.
	(set_disassembly_style_sfunc): Renamed from 
	set_disassembly_flavor_sfunc.
	(set_disassembly_style): Renamed from set_disassembly_flavor.
	(arm_othernames): Updated.
	(_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
	command.  Add "set/show arm disassembly" commands.  Deprecate
	"othernames" command.


Attachment: gdb-setarm.patch
Description: gdb-setarm.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]