Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gdb question



On Wed, 4 Aug 2010, Jonathan A. Kollasch wrote:

On Wed, Aug 04, 2010 at 04:30:26PM -0700, Paul Goyette wrote:
On Wed, 4 Aug 2010, Jonathan A. Kollasch wrote:

Hmm, explicitly initializing acpi_force_load in acpi.c seems to do
the trick for me.

nm shows:
before:
ffffffff80df0098 B acpi_force_load
after:
ffffffff80d135e0 D acpi_force_load

I didn't want to pollute my source tree...  And I only want to force
it for this one machine (out of 7).


The point I was trying to make was in the nm output.
Without 'int acpi_force_load = 0;' instead of 'int acpi_force_load;'
acpi_force_load is placed either in the .bss rather than .data section.

Ah!  I missed that.  Thanks.

Perhaps this should be changed "officially" ?




-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index