From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Nasser To: Syd Polk Cc: insight@sourceware.cygnus.com Subject: Re: RFA: Fixes to the Registers window Date: Wed, 03 May 2000 11:00:00 -0000 Message-id: <39106937.38C7F105@cygnus.com> References: <4.2.0.58.20000503104415.00b8dc10@pop.cygnus.com> X-SW-Source: 2000-q2/msg00169.html Syd Polk wrote: > > This looks reasonable to me. > Thanks. I will check it in. F. > At 03:33 PM 5/2/00 -0400, Fernando Nasser wrote: > >This improves the overall appearance of the Registers window when there > >are registers with values that differ much in length. It also avoids a > >stack trace if a value is not accepted. > > > >The main improvement though is the ability to handle typed registers, as > >we now have for several new processors to which gdb has been ported. To > >make the user's life easier, an option to add registers to the Watch > >window (were typed register details can be seen and values edited) has > >been added. > > > >The ChangeLog entry tells the above in some more detailed terms. > > > >-- > >Fernando Nasser > >Red Hat - Toronto E-Mail: fnasser@cygnus.com > > > > > >Index: ChangeLog > >=================================================================== > >RCS file: /cvs/src/src/gdb/gdbtk/library/ChangeLog,v > >retrieving revision 1.18 > >diff -c -p -r1.18 ChangeLog > >*** ChangeLog 2000/04/27 16:46:12 1.18 > >--- ChangeLog 2000/05/02 19:24:23 > >*************** > >*** 1,3 **** > >--- 1,18 ---- > >+ 2000-05-01 Fernando Nasser > >+ > >+ * regwin.itb (build_win): Adjust size of columns independently, force > >+ typed registers to raw mode and check if values can be edited. > >+ Also, add "Add to Watch" option to the menu. > >+ (update): Similar changes to similar code. > >+ (init_reg_display_vars): Initialize new variables used above. > >+ (reg_select): Deactivate menu options when action is not possible. > >+ (but3): Ditto. > >+ (edit): Do not edit if it is not editable. > >+ (acceptEdit): Fix bug is error message box display. > >+ (addToWatch): New mwthod. Add a register to the Watch window. > >+ * regwin.ith: Add addToWatch to the class. > >+ * tclIndex: Regenerate. > >+ (...) -- Fernando Nasser Red Hat - Toronto E-Mail: fnasser@cygnus.com 2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311 Toronto, Ontario M4P 2C9 Fax: 416-482-6299