Fix #10610.

Added missing initializer for fContext in PackageInfoErrorListener whose
absence was leading to crashes when generating the error string.
Style fix.
Debugger: Add handling for rvalue reference type entries.

Fixes part of #10659.
Hey: Style fixes, code clean up

No functional changes intended
Hey: use delete[] instead of free (CID #990947 and CID #990948)
Revert "BScrollView: Increase small scroll step size from 1 to 3"

This reverts commit bdcfc076173236ddecccfebd945530a309debdce.
Fix empty parameter dialog in DriveSetup

* When the add-on provides no parameter editor, still add the set of
  of default controls instead of just bailing out of the Init()
  method.

* Before, DriveSetup never added the default controls in such cases
  and simply showed an empty window. This happened when e.g. trying
  to create a new partition inside an extended partition (because
  ExtendedPartitionAddOn provides no parameter editor).

* Fixes #10569
Fix mismatching allocation and deallocation

Fixes ticket #10374

Signed-off-by: Philippe Saint-Pierre <stpere@gmail.com>
Debugger: Fix program counter handling issue.

- For DWARF4, lowpc/highpc can be specified as constants in addition
  to addresses. Furthermore, they can also be specified such that highpc
  is a relative offset from lowpc rather than an absolute address. We
  weren't handling this case, which gcc4.8 is now using when emitting
  version 4 debug information. Fixes another part of #10659.

There still remains a problem with regards to class/structure variables not
showing up in the local variables view.
Debugger: Partly rework hrev46696.

- Various other places in Debugger expect the highpc attribute to be
  an address rather than an offset. As such, resolve it to one when
  setting the attribute in the corresponding DIE so the resolved value
  is available everywhere. Fixes variable scopes not being computed
  properly, and consequently the missing variables mentioned in the
  previous commit.

This gets things working properly again under gcc4.8.
Debugger: Handle DW_AT_signature.

- Per DWARF4's specification, if a type's complete definition is
  contained in a .debug_types unit, it should be referenced via the
  DW_AT_signature attribute. 4.8 now actually does this rather than
  setting e.g. DW_AT_attribute_origin to a signature ref, and
  consequently we weren't finding said reference any more.

Gets .debug_types section support working again.
scheduler: Always protect gCore[High]LoadHeap with spinlock

Should fix #10628. If there is a race condition with a writer getting
minimum or maximum from double ended heap may incorrectly result NULL.
Which is not expected in the most of the thread migration logic. Apart
from that, because of the race condition heap state may be observed as
inconsistent thus failing assertions.
ended heap
x86_64: Relax ltr operand constraint

Any 16 bit general puprose register can be a ltr operand, no need
to force AX.
scheduler: Fix load update on idle cores

To make sure that load statistics are accurate on idle cores each time
idle thread is scheduled a timer is set to update load when current
load measurement interval elapses. However, core load is defined as the
average load during last measurement interval and idle core may be still
considered busy if it was not idle during entire measurement interval.
Since, load update timer is a one shot timer that information will not be
updated until the core becomes active again.

To mitigate that issue load update timer is set to fire after two load
measurement intervals had elapsed.
scheduler/low_latency: Try harder to balance load

In low latency mode the scheduler would not attempt to balance load
on not heavily loaded cores unless difference in load exceeded
kLoadDifference * 2 (i.e. 40 percentage points), which does not seem
to be good enough.
pthread: allow NULL thread to compare equal.

- POSIX says the behavior for pthread_equal is undefined for
uninitialized arguments.
- However, gcc C++11 threads supports expects C++-compatible behavior,
that is, two uninitialized pthread_t should compare equal.

Avoids some runtime asserts in latest WebKit version.
stdio.h: Add missing *_unlocked declarations

Configure scripts would find the symbols and thus use them and assume
our headers declare them.

This fixes building gcc_bootstrap.
Update HaikuPortsCross repo for all archs
Add more build profiles to "jam help" list.

* fixes #10655

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
(with some style fixes)
Hey: more style fixes, no functionnal changes intended