This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] sim: mcore: drop sbrk support
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Sun, 29 Mar 2015 05:06:44 -0400
- Subject: [binutils-gdb] sim: mcore: drop sbrk support
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT aac18a6996e57cd1d1c32d3fd418c4950c5001bf ***
Author: Mike Frysinger <vapier@gentoo.org>
Branch: master
Commit: aac18a6996e57cd1d1c32d3fd418c4950c5001bf
sim: mcore: drop sbrk support
The sbrk syscall assumes the sbrk region starts after the bss and the
current implementation requires a bss section to exist. Since there
is no requirement for programs to have a bss in general, we want to
drop this check. However, there is still the sbrk syscall that wants
to know about the region.
Since libgloss doesn't actually use the sbrk syscall (it implements
sbrk in its own way), and the sim really shouldn't enforce a specific
memory layout on programs, lets simply delete sbrk support. Now it
always returns an error.