====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
soc:2008:stefanha:journal:week3 [2008/06/13 06:38]
stefanha
soc:2008:stefanha:journal:week3 [2008/06/16 04:11] (current)
stefanha
Line 88: Line 88:
 Git commits: Git commits:
   * [[http://​git.etherboot.org/?​p=people/​stefanha/​gpxe.git;​a=commit;​h=8ec13694a44779156d679af99a104aeb3bbfdb53|[GDB] Zero-extend 16-bit segment registers]]   * [[http://​git.etherboot.org/?​p=people/​stefanha/​gpxe.git;​a=commit;​h=8ec13694a44779156d679af99a104aeb3bbfdb53|[GDB] Zero-extend 16-bit segment registers]]
 +  * [[http://​git.etherboot.org/?​p=people/​stefanha/​gpxe.git;​a=commit;​h=03d22bf5e31348e3f3ede48500c981761f367651|[GDB] UDP clean up and add netdev refcnt]]
  
 **Segment registers sometimes contained junk values**. ​ The test suite reported that the ''​DS''​ segment register had the wrong value when running on real hardware. ​ Most of my past development and testing has been in QEMU. **Segment registers sometimes contained junk values**. ​ The test suite reported that the ''​DS''​ segment register had the wrong value when running on real hardware. ​ Most of my past development and testing has been in QEMU.
Line 95: Line 96:
 Although it is technically okay for the upper 16 bits to be undefined, I think it is nicer if we zero-extend segment registers when reporting their values to GDB.  This makes it easier to write test cases and is less confusing for users. Although it is technically okay for the upper 16 bits to be undefined, I think it is nicer if we zero-extend segment registers when reporting their values to GDB.  This makes it easier to write test cases and is less confusing for users.
  
-Next steps: +**Weekly meeting with mdc and mcb30**.  ​Things are looking good for cleaning up and merging ​the second round of GDB stub work: 
-  ​Fix netdev reference counting in gdbudp. +  * Remote debugging over UDP 
-  * Choose ​and document a simple way to manually call into the debugger. +  * Watchpoints 
-  * Improve flow control so that GDB does not print warnings. +  * Atomic read/​write ​for device memory 
-  * Clean up and propose gdbstub2 code for mainline. +  * Continue on detach/kill from GDB 
-  * Update [[:​dev:​gdbstub|GDB stub page]] and screencast when UDP code is merged into mainline. + 
-  * See if GDB supports ​16-bit ​code, and try out real-mode debugging. +Making the merge happen ​is my immediate goal.  ​An interesting opportunity for another iteration of development is 16-bit real mode debugging.  ​If GDB can hold up to the pressures of real modethen I will implement stub support. 
-  * Draft a plan to port Linux b44 driver to gPXEdiscuss with mdc.+ 
 +===== Next week ===== 
 +On to [[.:​week4|week 4]].

QR Code
QR Code soc:2008:stefanha:journal:week3 (generated for current page)