Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
soc:2008:stefanha:journal:week3 [2008/06/13 02:39] 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: |
| - | * Improve flow control so that GDB does not print warnings. | + | * Remote debugging over UDP |
| - | * Update [[:dev:gdbstub|GDB stub page]] and screencast when UDP code is merged into mainline. | + | * Watchpoints |
| + | * Atomic read/write for device memory | ||
| + | * Continue on detach/kill from GDB | ||
| + | |||
| + | 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 mode, then I will implement stub support. | ||
| + | |||
| + | ===== Next week ===== | ||
| + | On to [[.:week4|week 4]]. | ||