aros:aros.git
8 years agoWIP llvmpipe.hidd llvmpipe_experiment
Krzysztof Smiechowicz [Wed, 25 Dec 2013 16:44:04 +0000 (17:44 +0100)]
WIP llvmpipe.hidd

To compile you need llvm headers in hidds/llvmpipe/llvm and
hidds/llvmpipe/llvm-c and link libraries in hidds/llvmpipe/lib

Warning: lp_tile_soa.c is autogenerated

Patch for llvm 2.9 is located in hidds/llvmpipe/llvm.diff

8 years agoABI_V0 compatibility: muimaster.library - support scroll wheel in List class
Krzysztof Smiechowicz [Wed, 25 Dec 2013 17:09:32 +0000 (18:09 +0100)]
ABI_V0 compatibility: muilibrary - support scroll wheel in List class

8 years agoForward compatibility: mark not public or not stable functions as .hidden
Krzysztof Smiechowicz [Sun, 17 Nov 2013 15:48:18 +0000 (16:48 +0100)]
Forward compatibility: mark not public or not stable functions as .hidden

8 years agoForward compatibility: genmodule - add option to hide certain function
Krzysztof Smiechowicz [Sun, 17 Nov 2013 15:47:28 +0000 (16:47 +0100)]
Forward compatibility: genmodule - add option to hide certain function

Option .hidden causes the generated headers to hide the function within
a special define that needs to be explicitly passed by developer.

Functions applicable to be marked as .hidden are functions which are
used by other modules but are either private to that module or are
new functions which have a good chance of being refined in future,
meaning their signature would change.

Those functions are enabled by default when building from build system.
The rationale is that everything that is build from build system:
a) is delivered in nightly build
b) can be rebuild when the function changes

8 years agoOther: adjust handling of AbsExecBase to make commands work out of the box
Krzysztof Smiechowicz [Sat, 16 Nov 2013 18:15:55 +0000 (19:15 +0100)]
Other: adjust handling of AbsExecBase to make commands work out of the box

8 years agoOther: Depend on "mesa" linklib targets instead of main targets.
Krzysztof Smiechowicz [Sun, 10 Nov 2013 12:38:55 +0000 (13:38 +0100)]
Other: Depend on "mesa" linklib targets instead of main targets.

This is so that contrib build does not trigger unnecessary "mesa" build.

8 years agoOther: scripts/nightly - change the mail subject to indicate V0 build
Krzysztof Smiechowicz [Sat, 9 Nov 2013 07:13:05 +0000 (08:13 +0100)]
Other: scripts/nightly - change the mail subject to indicate V0 build

8 years agoABI_V0 compatibility: hide default CON windows opened by autoinit code
Krzysztof Smiechowicz [Sat, 2 Nov 2013 14:06:05 +0000 (15:06 +0100)]
ABI_V0 compatibility: hide default CON windows opened by autoinit code

If developer really wants this open to open, he now must explicitly
declare such window in his code to be something different than
CON://///AUTO/CLOSE. Even swapping two last parameters works.

8 years agoABI_V0 compatibility: C:Run - run by default in QUIET mode
Krzysztof Smiechowicz [Fri, 1 Nov 2013 19:55:08 +0000 (20:55 +0100)]
ABI_V0 compatibility: C:Run - run by default in QUIET mode

Existing apps/scripts are not aware of need to explicitly set the
QUIET mode which results in shell windows being open when running
applications.

8 years agoOther: install only Ice theme, the rest of themes is damaged
Krzysztof Smiechowicz [Thu, 31 Oct 2013 18:20:30 +0000 (19:20 +0100)]
Other: install only Ice theme, the rest of themes is damaged

8 years agoOther: Blobwars - add GL to library list
Krzysztof Smiechowicz [Sat, 19 Oct 2013 05:22:44 +0000 (07:22 +0200)]
Other: Blobwars - add GL to library list

8 years agoOther: InstallAROS - revert to having ata.device as default selection option
Krzysztof Smiechowicz [Tue, 15 Oct 2013 15:06:08 +0000 (17:06 +0200)]
Other: InstallAROS - revert to having ata.device as default selection option

8 years agoABI_V0 compatibility: graphics.library - workaround for applications passing RPTAG_Pe...
Krzysztof Smiechowicz [Mon, 14 Oct 2013 17:35:00 +0000 (19:35 +0200)]
ABI_V0 compatibility: graphics.library - workaround for applications passing RPTAG_PenMode combined with RPTAG_FgColor

8 years agoABI_V0 compatibility: dos.library - allow certain cases of opening libraries with...
Krzysztof Smiechowicz [Sun, 13 Oct 2013 13:56:31 +0000 (15:56 +0200)]
ABI_V0 compatibility: dos.library - allow certain cases of opening libraries with name not matching case

8 years agoOther: graphics.hidd - mark the BMStruct attribute as DONOTUSE
Krzysztof Smiechowicz [Wed, 9 Oct 2013 19:15:15 +0000 (21:15 +0200)]
Other: graphics.hidd - mark the BMStruct attribute as DONOTUSE

This way any additional usage of this attribute can be easily detected.
The goal is to remove it as quick as possible to remove the dependency of
graphics.hidd on graphics.library concepts.

8 years agoOther: Abuse - add at SDL the end of library list to covert of its usege in SDL_mixer
Krzysztof Smiechowicz [Wed, 9 Oct 2013 18:49:41 +0000 (20:49 +0200)]
Other: Abuse - add at SDL the end of library list to covert of its usege in SDL_mixer

8 years agoOther: cybergraphics.library - disable LockBitMap function
Krzysztof Smiechowicz [Sun, 6 Oct 2013 17:56:49 +0000 (19:56 +0200)]
Other: cybergraphics.library - disable LockBitMap function

The SDL handling of 4 BPP modes (BGR0, etc) is invalid and causes
wrong rendering.

8 years agoABI_V0 compatibility: copy def_#?.info as well to ENV
Krzysztof Smiechowicz [Mon, 30 Sep 2013 20:29:45 +0000 (22:29 +0200)]
ABI_V0 compatibility: copy def_#?.info as well to ENV

Otherwise if boot media is removed, icon library no longer shows
default icons and falls back to built-in icons.

8 years agoOther: Always build mesa.library, glu.library, egl.library, vega.library and softpipe...
Krzysztof Smiechowicz [Sat, 28 Sep 2013 16:09:38 +0000 (18:09 +0200)]
Other: Always build mesa.library, glu.library, egl.library, vega.library and softpipe.hidd

8 years agoForward compatibility: user stdc.library when building via build system, in other...
Krzysztof Smiechowicz [Sat, 21 Sep 2013 06:29:51 +0000 (08:29 +0200)]
Forward compatibility: user stdc.library when building via build system, in other cases use arosc.library

Introduces new compiler switch -newclib that is used only internally
in the build system and causes linking again stdc, stdcio and posixc.
If this switch is not passed linking will be done against arosc. This
is how 3rd parties will build their software.

png - remove functions that allow passing entities created by c
library (FILE*)
bz2, z - downgrade do linklib

8 years agoForward compatibility: generate png.library instead of pnglib.library
Krzysztof Smiechowicz [Sat, 21 Sep 2013 06:26:53 +0000 (08:26 +0200)]
Forward compatibility: generate png.library instead of pnglib.library

Protos for datatypes will now create modulenamedt.h includes in
proto, clib, defines and inline

8 years agoABI_V0 compatibility: arosc.library - fix public structures compatibility
Krzysztof Smiechowicz [Wed, 11 Sep 2013 13:53:46 +0000 (15:53 +0200)]
ABI_V0 compatibility: arosc.library - fix public structures compatibility

8 years agoForward compatibility: libarosc.a - do not access fields of aroscbase directly
Krzysztof Smiechowicz [Thu, 12 Sep 2013 19:20:19 +0000 (21:20 +0200)]
Forward compatibility: libarosc.a - do not access fields of aroscbase directly

8 years agoABI_V0 compatibility: arosc.library - correct the binary layout of arosc_userdata...
Krzysztof Smiechowicz [Sun, 4 Aug 2013 08:51:38 +0000 (10:51 +0200)]
ABI_V0 compatibility: arosc.library - correct the binary layout of arosc_userdata structure, support environ as it was in ABI_V0

8 years agoABI_V0 compatibility: arosc.library - don't allow buffer mode change to touch pr_COS
Krzysztof Smiechowicz [Sun, 28 Jul 2013 08:59:55 +0000 (10:59 +0200)]
ABI_V0 compatibility: arosc.library - don't allow buffer mode change to touch pr_COS

8 years agoABI_V0 compatibility: arosc.library - re-introduce spawnv / spawnvp
Krzysztof Smiechowicz [Thu, 12 Sep 2013 19:16:29 +0000 (21:16 +0200)]
ABI_V0 compatibility: arosc.library - re-introduce spawnv / spawnvp

8 years agoAROSC thread-safe: add global lock in aroscbase, use the locking when assigning fd...
Krzysztof Smiechowicz [Wed, 24 Jul 2013 17:52:21 +0000 (19:52 +0200)]
AROSC thread-safe: add global lock in aroscbase, use the locking when assigning fd to file descriptor so that no two file descriptors get the same fd.

8 years agoABI_V0 compatibility: arosc.library - restore atexit handlers execution for binaries...
Krzysztof Smiechowicz [Mon, 8 Jul 2013 15:16:15 +0000 (17:16 +0200)]
ABI_V0 compatibility: arosc.library - restore atexit handlers execution for binaries not calling __arosc_program_end

8 years agoABI_V0 compatibility: arosc.library - support invoking of __arosc_nixmain without...
Krzysztof Smiechowicz [Sun, 30 Jun 2013 11:52:55 +0000 (13:52 +0200)]
ABI_V0 compatibility: arosc.library - support invoking of __arosc_nixmain without passing aroscbase.

8 years agoABI_V0 compatibility: arosc.library - restore error code values
Krzysztof Smiechowicz [Thu, 12 Sep 2013 19:03:56 +0000 (21:03 +0200)]
ABI_V0 compatibility: arosc.library - restore error code values

8 years agoABI_V0 compatibility: arosc.library - revert to compatible dirent structure layout
Krzysztof Smiechowicz [Wed, 11 Sep 2013 12:13:44 +0000 (14:13 +0200)]
ABI_V0 compatibility: arosc.library - revert to compatible dirent structure layout

8 years agoABI_V0 compatibility: arosc.library, support opening NIL:
Krzysztof Smiechowicz [Sat, 4 May 2013 17:21:18 +0000 (19:21 +0200)]
ABI_V0 compatibility: arosc.library, support opening NIL:

8 years agoABI_V0 compatibility: arosc.library, revert toupper/tolower to int instead of char
Krzysztof Smiechowicz [Thu, 12 Sep 2013 18:41:56 +0000 (20:41 +0200)]
ABI_V0 compatibility: arosc.library, revert toupper/tolower to int instead of char

8 years agoABI_V0 compatibility: arosc.library
Krzysztof Smiechowicz [Thu, 12 Sep 2013 18:17:26 +0000 (20:17 +0200)]
ABI_V0 compatibility: arosc.library

Reintroduce getc, getw, ioctl, putc, putw. Provide ABI_V0 compatible
arosc startup.

8 years agoAROSC: reintroduce arosc.library
Krzysztof Smiechowicz [Wed, 13 Nov 2013 20:26:09 +0000 (21:26 +0100)]
AROSC: reintroduce arosc.library

Headers shared with stdc and posixc.

libm.a has been merged into linklib for arosc.library (libarosc.a)

Arch-dependant files are only restored for i386 and arm.

8 years agoABI_V0 compatibility: pass compdata as it contains GraphicsBase needed by AndRectRect
Krzysztof Smiechowicz [Sun, 10 Nov 2013 13:41:27 +0000 (14:41 +0100)]
ABI_V0 compatibility: pass compdata as it contains GraphicsBase needed by AndRectRect

8 years agoForward compatibility: posixc/stdcio.library - use libraries/xxx.h for the definition...
Krzysztof Smiechowicz [Tue, 10 Sep 2013 17:53:41 +0000 (19:53 +0200)]
Forward compatibility: posixc/stdcio.library - use libraries/xxx.h for the definition of __aros_getbase_XXX

The proto contains a define (XXX) which causes the code to not
initialize the local library base variable which has the same
name as the base.

8 years agoABI_V0 compatibility: muimaster.library - move basic click handling to List class
Krzysztof Smiechowicz [Sat, 31 Aug 2013 17:59:44 +0000 (19:59 +0200)]
ABI_V0 compatibility: muilibrary - move basic click handling to List class

8 years agoForward compatibility: build static library for SDL
Krzysztof Smiechowicz [Tue, 27 Aug 2013 16:55:21 +0000 (18:55 +0200)]
Forward compatibility: build static library for SDL

The .library variant of SDL needs to go over a review
before it can be released for general usage

8 years agoForward compatibility: generate same protos for all type of libraries
Krzysztof Smiechowicz [Thu, 15 Aug 2013 17:15:55 +0000 (19:15 +0200)]
Forward compatibility: generate same protos for all type of libraries

This way reg calls are always going through the library base directly
and rel lib calls are going through __aros_getoffsettable

8 years agoForward compatibility: binutils - use version 2.21.1. 2.23.2 version does not work...
Krzysztof Smiechowicz [Thu, 15 Aug 2013 13:33:04 +0000 (15:33 +0200)]
Forward compatibility: binutils - use version 2.21.1. 2.23.2 version does not work with libgcc.a

8 years agoForward compatibility: replace _au libraries with their regular names
Krzysztof Smiechowicz [Sun, 11 Aug 2013 20:08:23 +0000 (22:08 +0200)]
Forward compatibility: replace _au libraries with their regular names

8 years agoForward compatibility: libamiga.a - move ErrorOutput and SelectErrorOutput to dos...
Krzysztof Smiechowicz [Sat, 10 Aug 2013 05:41:06 +0000 (07:41 +0200)]
Forward compatibility: libamiga.a - move ErrorOutput and SelectErrorOutput to dos.library

8 years agoForward compatibility: libarossupport.a - remove dependency on arosc.library
Krzysztof Smiechowicz [Fri, 9 Aug 2013 16:36:42 +0000 (18:36 +0200)]
Forward compatibility: libarossupport.a - remove dependency on arosc.library

8 years agoForward compatibility: libarossupport.a - remove rastport functions as they are prese...
Krzysztof Smiechowicz [Fri, 9 Aug 2013 04:36:02 +0000 (06:36 +0200)]
Forward compatibility: libarossupport.a - remove rastport functions as they are present in the graphics.library

8 years agoForward compatibility: libarossupport.a - remove RT support
Krzysztof Smiechowicz [Fri, 9 Aug 2013 04:35:25 +0000 (06:35 +0200)]
Forward compatibility: libarossupport.a - remove RT support

8 years agoABI_V0 compatibility: muimaster.libary - fix support for V0 compatible EventHandlerNo...
Krzysztof Smiechowicz [Fri, 2 Aug 2013 16:37:49 +0000 (18:37 +0200)]
ABI_V0 compatibility: muilibary - fix support for V0 compatible EventHandlerNode AddXXXHandler

8 years agoABI_V0 compatibility: dos.library - always flush the input stream after running a...
Krzysztof Smiechowicz [Sun, 28 Jul 2013 14:10:19 +0000 (16:10 +0200)]
ABI_V0 compatibility: dos.library - always flush the input stream after running a command to remove the injected arguments

8 years agoABI_V0 compatibility: dos.library - place ScanVars at correct LV0
Krzysztof Smiechowicz [Fri, 26 Jul 2013 20:29:16 +0000 (22:29 +0200)]
ABI_V0 compatibility: dos.library - place ScanVars at correct LV0

8 years agoABI_V0 compatibility: dos.library, support SystemTags("PROGDIR:...") calls
Krzysztof Smiechowicz [Fri, 12 Jul 2013 19:58:20 +0000 (21:58 +0200)]
ABI_V0 compatibility: dos.library, support SystemTags("PROGDIR:...") calls

8 years agoABI_V0 compatibility: graphics.library - Enable GetBitMapAttr(&Screen->BitMap, BMA_DEPTH)
Krzysztof Smiechowicz [Fri, 12 Jul 2013 15:30:30 +0000 (17:30 +0200)]
ABI_V0 compatibility: graphics.library - Enable GetBitMapAttr(&Screen->BitMap, BMA_DEPTH)

8 years agoABI_V0 compatibility: dos.library - support DupLockFromFH, ExamineFH and NameFromFH...
Krzysztof Smiechowicz [Wed, 10 Jul 2013 19:23:40 +0000 (21:23 +0200)]
ABI_V0 compatibility: dos.library - support DupLockFromFH, ExamineFH and NameFromFH under DupLock, Examine and NameFromLock LVO's

8 years agoABI_V0 compatibility: network drivers - expect interrupts to be called with AROS_SOFT...
Krzysztof Smiechowicz [Fri, 5 Jul 2013 18:41:34 +0000 (20:41 +0200)]
ABI_V0 compatibility: network drivers - expect interrupts to be called with AROS_SOFTINT convention

This is true for drivers based on prometheus.library

8 years agoABI_V0 compatibility: prometheus.library - call registered interrupt handlers using...
Krzysztof Smiechowicz [Fri, 5 Jul 2013 17:20:22 +0000 (19:20 +0200)]
ABI_V0 compatibility: prometheus.library - call registered interrupt handlers using AROS_SOFTINT calling convention

8 years agoABI_V0 compatibility: aros.library - advertise as ABI_V0
Krzysztof Smiechowicz [Wed, 3 Jul 2013 17:28:03 +0000 (19:28 +0200)]
ABI_V0 compatibility: aros.library - advertise as ABI_V0

8 years agoABI_V0 compatibility: AHI - correctly handler interrupts and soft interrupts
Krzysztof Smiechowicz [Wed, 3 Jul 2013 17:19:57 +0000 (19:19 +0200)]
ABI_V0 compatibility: AHI - correctly handler interrupts and soft interrupts

8 years agoABI_V0 compatibility: intuition.library - place MouseX before MouseY
Krzysztof Smiechowicz [Sun, 23 Jun 2013 17:59:57 +0000 (19:59 +0200)]
ABI_V0 compatibility: intuition.library - place MouseX before MouseY

8 years agoABI_V0 compatibility: muimaster.library - restore Group.mui refresh behaviour
Krzysztof Smiechowicz [Fri, 14 Jun 2013 20:54:55 +0000 (22:54 +0200)]
ABI_V0 compatibility: muilibrary - restore Group.mui refresh behaviour

8 years agoABI_V0 compatibility: dos.library patch for UnLock being an alias for Close
Krzysztof Smiechowicz [Wed, 8 May 2013 18:49:03 +0000 (20:49 +0200)]
ABI_V0 compatibility: dos.library patch for UnLock being an alias for Close

8 years agoABI_V0 compatibility: graphics.library, reintroduce AndRectRect, CopyRegion, NewRectR...
Krzysztof Smiechowicz [Wed, 8 May 2013 18:48:12 +0000 (20:48 +0200)]
ABI_V0 compatibility: graphics.library, reintroduce AndRectRect, CopyRegion, NewRectRegion

8 years agoABI_V0 compatibility: muimaster.library offsets and struct EventHandlerNode
Krzysztof Smiechowicz [Fri, 3 May 2013 13:23:58 +0000 (15:23 +0200)]
ABI_V0 compatibility: muilibrary offsets and struct EventHandlerNode

8 years agoABI_V0 compatibility: workbench.library, make sure application started from workbench...
Krzysztof Smiechowicz [Fri, 3 May 2013 09:04:25 +0000 (11:04 +0200)]
ABI_V0 compatibility: workbench.library, make sure application started from workbench get pr_COS/pr_CIS/pr_CurrentDir

8 years agoABI_V0 compatibility: correct prototypes of interrupt functions called by Cause or...
Krzysztof Smiechowicz [Sun, 8 Dec 2013 12:43:06 +0000 (13:43 +0100)]
ABI_V0 compatibility: correct prototypes of interrupt functions called by Cause or AddResetCallback

8 years agoABI_V0 compatibility: Poseidon, use AROS_SOFTINT instead of AROS_INT for Cause and...
Krzysztof Smiechowicz [Wed, 1 May 2013 14:13:26 +0000 (16:13 +0200)]
ABI_V0 compatibility: Poseidon, use AROS_SOFTINT instead of AROS_INT for Cause and AddResetCallback

8 years agoABI_V0 compatibility: add prototype and call AROS_SOFTINT macros
Krzysztof Smiechowicz [Wed, 1 May 2013 13:52:46 +0000 (15:52 +0200)]
ABI_V0 compatibility: add prototype and call AROS_SOFTINT macros

8 years agoABI_V0 compatibility: graphics.library, make space for compatible AddDisplayDriverA...
Krzysztof Smiechowicz [Wed, 1 May 2013 11:05:37 +0000 (13:05 +0200)]
ABI_V0 compatibility: graphics.library, make space for compatible AddDisplayDriverA function

8 years agoABI_V0 compatibility: kernel.resource pc-i386
Krzysztof Smiechowicz [Wed, 1 May 2013 10:28:01 +0000 (12:28 +0200)]
ABI_V0 compatibility: kernel.resource pc-i386

8 years agoABI_V0 compatibility: exec.library, usage of AROS_SOFTINTH instead of AROS_INTH for...
Krzysztof Smiechowicz [Sun, 8 Dec 2013 12:41:41 +0000 (13:41 +0100)]
ABI_V0 compatibility: exec.library, usage of AROS_SOFTINTH instead of AROS_INTH for reset handlers.

8 years agoABI_V0 compatibility: exec.library, provide compatible NewAllocEntry implementation
Krzysztof Smiechowicz [Wed, 1 May 2013 07:39:39 +0000 (09:39 +0200)]
ABI_V0 compatibility: exec.library, provide compatible NewAllocEntry implementation

8 years agoABI_V0 compatibility: dos.library Error(), SelectError() and flag conversion in Open()
Krzysztof Smiechowicz [Tue, 30 Apr 2013 20:15:25 +0000 (22:15 +0200)]
ABI_V0 compatibility: dos.library Error(), SelectError() and flag conversion in Open()

8 years agoABI_V0 compatibility: intuition.library function offsets
Krzysztof Smiechowicz [Tue, 30 Apr 2013 20:14:38 +0000 (22:14 +0200)]
ABI_V0 compatibility: intuition.library function offsets

8 years agoABI_V0 compatibility: graphics.library function offsets and protos
Krzysztof Smiechowicz [Sun, 28 Apr 2013 15:56:14 +0000 (17:56 +0200)]
ABI_V0 compatibility: graphics.library function offsets and protos

8 years agoABI_V0 compatibility: dos.library - provide SysBase symbol to executables
Krzysztof Smiechowicz [Sun, 28 Apr 2013 13:12:54 +0000 (15:12 +0200)]
ABI_V0 compatibility: dos.library - provide SysBase symbol to executables

8 years agoABI_V0 compatibility: struct Node field order (only for i386!)
Krzysztof Smiechowicz [Sun, 28 Apr 2013 07:55:06 +0000 (09:55 +0200)]
ABI_V0 compatibility: struct Node field order (only for i386!)

8 years agoABI_V0 compatibility: exec.library and libcall
Krzysztof Smiechowicz [Sun, 4 Aug 2013 17:17:07 +0000 (19:17 +0200)]
ABI_V0 compatibility: exec.library and libcall

8 years agoDon't set icon position. It messes the layout under Scalos.
mazze [Wed, 25 Dec 2013 15:24:11 +0000 (15:24 +0000)]
Don't set icon position. It messes the layout under Scalos.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48629 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agogallivm: build a separate linklib for gallivm subproject
deadwood [Wed, 25 Dec 2013 15:14:46 +0000 (15:14 +0000)]
gallivm: build a separate linklib for gallivm subproject

git-svn-id: https://svn.aros.org/svn/aros/trunk@48628 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agogalliumauxiliary: copy headers for gallivm
deadwood [Wed, 25 Dec 2013 15:14:41 +0000 (15:14 +0000)]
galliumauxiliary: copy headers for gallivm

git-svn-id: https://svn.aros.org/svn/aros/trunk@48627 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agoFixed usage string.
mazze [Tue, 24 Dec 2013 12:12:00 +0000 (12:12 +0000)]
Fixed usage string.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48626 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agoAdded missing dependencies.
mazze [Tue, 24 Dec 2013 11:45:55 +0000 (11:45 +0000)]
Added missing dependencies.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48625 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agogcc: use DWARF2 as the default debugging information format
deadwood [Tue, 24 Dec 2013 07:36:32 +0000 (07:36 +0000)]
gcc: use DWARF2 as the default debugging information format

The STABS format is not correctly storing information in case of C++
code which can lead to gdb showing only function names without line
numbers and disabling ability to step through.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48624 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agodebug.library: disabled debug
deadwood [Mon, 23 Dec 2013 15:38:16 +0000 (15:38 +0000)]
debug.library: disabled debug

git-svn-id: https://svn.aros.org/svn/aros/trunk@48623 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years ago.gdbinit: synchronize search functions with C code
deadwood [Mon, 23 Dec 2013 15:38:13 +0000 (15:38 +0000)]
.gdbinit: synchronize search functions with C code

git-svn-id: https://svn.aros.org/svn/aros/trunk@48622 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years ago.gdbinit: extract function to load a single module. Use it for loadmods command.
deadwood [Mon, 23 Dec 2013 15:38:10 +0000 (15:38 +0000)]
.gdbinit: extract function to load a single module. Use it for loadmods command.

Instead of doing a look up of module by its lowest address, use the module
directly, since its already there. Gives a speed up in test case of clean
AROS boot from 23 minutes to 23 seconds for loading any and all module
debug information.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48621 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agodebug.library: store addresses of biggest gap in module address range
deadwood [Mon, 23 Dec 2013 15:38:07 +0000 (15:38 +0000)]
debug.library: store addresses of biggest gap in module address range

This allows to quickly skip certain modules when looking for module by
address.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48620 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years ago.gdbinit: remove separate code for handling kickstart modules
deadwood [Mon, 23 Dec 2013 15:38:05 +0000 (15:38 +0000)]
.gdbinit: remove separate code for handling kickstart modules

git-svn-id: https://svn.aros.org/svn/aros/trunk@48619 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agodebug.library: unify containers for module information and remove duplicated code
deadwood [Mon, 23 Dec 2013 15:38:02 +0000 (15:38 +0000)]
debug.library: unify containers for module information and remove duplicated code

git-svn-id: https://svn.aros.org/svn/aros/trunk@48618 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agodebug.library: register kickstart debug information the same way as info from modules...
deadwood [Mon, 23 Dec 2013 15:37:58 +0000 (15:37 +0000)]
debug.library: register kickstart debug information the same way as info from modules loaded by DOS

git-svn-id: https://svn.aros.org/svn/aros/trunk@48617 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agodebug.library: %lx is required to correctly handle addresses
deadwood [Mon, 23 Dec 2013 15:37:55 +0000 (15:37 +0000)]
debug.library: %lx is required to correctly handle addresses

git-svn-id: https://svn.aros.org/svn/aros/trunk@48616 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agodebug.library: extract function for registering ELF debug information
deadwood [Mon, 23 Dec 2013 15:37:52 +0000 (15:37 +0000)]
debug.library: extract function for registering ELF debug information

git-svn-id: https://svn.aros.org/svn/aros/trunk@48615 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agodebug.library: migrate to new two-level module index
deadwood [Mon, 23 Dec 2013 15:37:49 +0000 (15:37 +0000)]
debug.library: migrate to new two-level module index

git-svn-id: https://svn.aros.org/svn/aros/trunk@48614 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years ago.gdbinit: migrate to new two-level module index
deadwood [Mon, 23 Dec 2013 15:37:45 +0000 (15:37 +0000)]
.gdbinit: migrate to new two-level module index

git-svn-id: https://svn.aros.org/svn/aros/trunk@48613 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agodebug.library: introduce a two-level index of segments
deadwood [Mon, 23 Dec 2013 15:37:42 +0000 (15:37 +0000)]
debug.library: introduce a two-level index of segments

The current solution with flat list of loaded segments work fairly
well with small total number of segments. However is a larger C++
application is loaded the system collapses and requires minutes to
load debugging information.

This is a first patch that make changes to the system. First it
introduces a two-level index with first index being modules and second
segments within module. This allows to quickly cuts off whole ranges
of segments from being searched. The segment arrays within modules
are also sorted, so a binary search algorithm is used to locate
the required segment quicker. Lastly, if system is compiled with
DEBUG_MODULES, the module_t structure has a string generated which
is a parameter to the add-symbol-file command. Having this string generated
in .gdbinit script was taking 2-3 minutes in my test case, now it is
almost instant.

These changes make debuging C++ binaries using gdb feasible in sense
that 90% of time is not spend waiting for symbols to be loaded.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48612 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agoSuppress echoing with "@".
mazze [Mon, 23 Dec 2013 09:51:40 +0000 (09:51 +0000)]
Suppress echoing with "@".

git-svn-id: https://svn.aros.org/svn/aros/trunk@48611 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agoBuild catalogs.
mazze [Sun, 22 Dec 2013 21:50:37 +0000 (21:50 +0000)]
Build catalogs.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48610 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agoFix for a crash in EMU mode: patched AddAppWindow()
mazze [Sun, 22 Dec 2013 14:44:50 +0000 (14:44 +0000)]
Fix for a crash in EMU mode: patched AddAppWindow()
isn't compatible with AROS.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48609 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agoWrong semicolon removed.
mazze [Sun, 22 Dec 2013 10:10:48 +0000 (10:10 +0000)]
Wrong semicolon removed.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48607 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agoFix for a NULL pointer dereferencing.
mazze [Sat, 21 Dec 2013 22:08:38 +0000 (22:08 +0000)]
Fix for a NULL pointer dereferencing.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48606 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agoHosted for unix-like architectures contains modules only available for linux in the...
impulse [Sat, 21 Dec 2013 15:56:15 +0000 (15:56 +0000)]
Hosted for unix-like architectures contains modules only available for linux in the config file; This fixes it for darwin hosted builds.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48605 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

8 years agoBuild Scalos for i386 and arm, although I've no idea
mazze [Sat, 21 Dec 2013 12:05:50 +0000 (12:05 +0000)]
Build Scalos for i386 and arm, although I've no idea
whether it runs on arm.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48604 fb15a70f-31f2-0310-bbcc-cdcc74a49acc