This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


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

SKIP_PROLOGUE(pc): statement -> expression


Just FYI,

I'm in the process of commiting changes to almost all the targets
so that the ``SKIP_PROLOGUE'' macro is an expression instead of a C
statement.  vis:

	#define SKIP_PROLOGUE(pc) \
	{ ..... \
	....... \
	}

converted to:

	#define SKIP_PROLOGUE(pc) (vax_skip_prologue (pc))

People may want to keep an eye out for problems related to this change.


Two additional things to note:


	o	All that code has been moved to a function.

		Among other things this eliminates the horror
		of debugging this code.
		

	o	The new function is name-space clean.

		That name doesn't clash with anything
		else inside of gdb.


While both of these are motivated by multi-arch, I believe that they are
generally considered to be a good thing.


This should show up in the next snapshot.


	enjoy,
		Andrew