This is the mail archive of the 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]; Was: Obsolete m32r?

> It would help if the was updated first, to label the macros
> obsolete or deprecated, and describe multi-arch more completely.

Obsolete macros are deleted (when someone notices they are not in use or 
removes all uses).  There is no pre-documented warning that this will 
happen however strong hints are found on .

The intention (discussed last year) is to more clearly identify 
deprecated macro's and functions by adding the prefix deprecated_....().

> I started working on a port of gdb 5.0 to the ut69r in September 2001, 
> and I read pretty thoroughly; there was only one mention of
> multi-arch, and it was pretty obscure. So I implemented the macros, and 
> now I discover I have to change them.

Prior to the 5.1 release I tried to update the internals doco so that it 
better represented current reality (1, 2):

The introduction is correct.  The misleading part is where it uses the 
words macro vs function.  Looking at it I probably should have simply 
replaced all uses of the word macro with function (it is complicated 
because currently most architecture methods are still accessed via a 
macro by core-GDB :-/).  The section on files points out that tm-*.h 
files are not needed and should not be created.

Overall it could do with more work.  With 5.1 I was more worried about 
getting the coding standard section to better reflect reality.

If you're wondering about the big picture see:

If you're wondering what you need to change see:


(1) GDB currently isn't multi-arch.  At this stage multi-arch just 
refers to implementing a target using the architecture vector.

(1) Hmm, section 9.1 is completly out-of-date.  GDB and the compiler's register numberings are now completly independant!

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