Pedro Alves
87b0e16e7b
Fix date.
2008-06-27 11:32:17 +00:00
Pedro Alves
79d7f22901
Use ptid_t.tid to store thread ids instead of ptid_t.pid.
...
* remote.c (magic_null_ptid, not_sent_ptid, any_thread_ptid): New
globals.
(general_thread, continue_thread): Change type to ptid_t.
(record_currthread): Take a ptid_t parameter instead of an
integer.
(MAGIC_NULL_PID): Delete.
(set_thread): Take a ptid_t parameter and adjust.
(set_general_thread, set_continue_thread): New.
(remote_thread_alive, remote_newthread_step)
(remote_current_thread, remote_find_new_threads)
(remote_threads_info, remote_start_remote, remote_vcont_resume)
(remote_resume_1, remote_wait, extended_remote_create_inferior_1)
(threadalive_test, remote_pid_to_str)
(remote_get_thread_local_address): Adjust.
(_initialize_remote): Initialize magic_null_ptid, not_sent_ptid
and any_thread_ptid.
2008-06-27 11:31:40 +00:00
gdbadmin
56a2504d54
*** empty log message ***
2008-06-27 00:00:33 +00:00
Jan Kratochvil
3ca64bd3bd
* configure.ac (--enable-tui): AC_MSG_ERROR for explicit --enable-tui.
...
* configure: Regenerated.
2008-06-26 19:20:42 +00:00
Joel Brobecker
28e9494986
* dwarf2read.c (read_attribute_value): Treat size attribute
...
values of 0xffffffff as if the attribute value was zero.
2008-06-26 19:08:10 +00:00
Vladimir Prus
8a77dff322
* linux-nat.c: Add description of overall logic.
2008-06-26 17:40:23 +00:00
Daniel Jacobowitz
d5af19bafb
* Makefile.in (GNULIB_H): Use GNULIB_STDINT_H.
...
(gdb_stdint_h, gdb_stdint.h, stamp-int): Delete. Remove
all dependencies on $(gdb_stdint_h).
(distclean): Do not delete gdb_stdint.h.
* acinclude.m4: Do not use stdint.m4.
* configure.ac: Set GNULIB_STDINT_H. Remove tests for stdint.h,
uintptr_t, and gdb_stdint.h.
* defs.h: Include <stdint.h>.
* gdb_thread_db.h: Assume stdint.h is already included.
* breakpoint.c, findcmd.c, hppa-tdep.c, inf-ptrace.c, proc-service.c,
rs6000-nat.c, spu-linux-nat.c, target.c, win32-nat.c: Do not
include gdb_stdint.h.
* configure, config.in: Regenerate.
2008-06-26 15:51:28 +00:00
Joseph Myers
00fbcec4ab
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle passing
...
decimal floating-point values in GPRs for soft-float.
(do_ppc_sysv_return_value): Handle returning decimal
floating-point values in GPRs for soft-float.
2008-06-26 15:38:39 +00:00
Vladimir Prus
d50867903f
* target.c (target_read_until_error): New.
...
* target.h (target_read_until_error): Declare.
* mi/mi-main.c (mi_cmd_data_read_memory): Use
target_read_until_error.
2008-06-26 15:10:48 +00:00
gdbadmin
e9033f62de
*** empty log message ***
2008-06-26 00:00:04 +00:00
Jan Kratochvil
734a5c3612
* lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
2008-06-25 15:52:15 +00:00
Jan Kratochvil
fe9441f601
Fix a memory leak found by Hui Zhu <teawater@gmail.com>.
...
* c-exp.y (parse_number): Move the S and SAVED_CHAR initialization
after the DECFLOAT detection to fix a memory leak. Remove the
redundant NUM initialization. Protect the DECFLOAT detection memory
access before the P block. Restore the P memory content for the
DECFLOAT detection.
2008-06-25 15:49:20 +00:00
Daniel Jacobowitz
2c40eaebf8
Revert accidental commit.
2008-06-25 15:21:21 +00:00
Vladimir Prus
ce8f13f88e
Kill the return value for all MI command functions.
...
* mi/mi-cmds.h (enum mi_cmd_result): Remove.
(mi_cmd_argv_ftype): Change return type to void.
* mi/mi-main.c: Adjust all function that implement
MI commands to return nothing.
(struct captured_mi_execute_command_actions):
Remove the rc field.
(mi_cmd_execute): Return nothing.
(mi_execute_async_cli_command): Return nothing.
(mi_cmd_exec_interrupt): Don't print ^done here.
(mi_cmd_target_select): Don't print ^connected here.
(captured_mi_execute_command): Don't check for MI_CMD_DONE.
Special-case -target-select and output ^connected, not ^done.
* mi/mi-cmd-break.c: Adjust.
* mi/mi-cmd-disas.c: Adjust.
* mi/mi-cmd-env.c: Adjust.
* mi/mi-cmd-file.c: Adjust.
* mi/mi-cmd-stack.c: Adjust.
* mi/mi-cmd-target.c: Adjust.
* mi/mi-cmd-var.c: Adjust.
* mi/mi-interp.c: Adjust.
* mi/mi-symbol-cmds.c: Adjust.
2008-06-25 15:15:42 +00:00
Vladimir Prus
a2840c3559
Emit ^running via observer.
...
* mi/mi-interp.c (mi_cmd_interpreter_exec): Do no print
^running here.
(mi_on_resume): Print ^running if not previously output.
* mi/mi-main.c (running_result_record_printed): New.
(captured_mi_execute_command): Reset
running_result_record_printed. Use running_result_record_printed
to decide if we should skip ^done.
(mi_execute_async_cli_command): Don't print ^running here.
* mi/mi-main.h (current_token, running_result_record_printed):
Declare.
2008-06-25 14:32:34 +00:00
Daniel Jacobowitz
7413f23fb4
* elf32-arm.c (STUB_ENTRY_NAME): Define.
...
(arm_thumb_thumb_long_branch_stub): Use bx instead of b.n.
(arm_pic_long_branch_stub): Mention R_ARM_REL32 instead of
R_ARM_ABS32.
(struct elf32_arm_stub_hash_entry): Add output_name.
(arm_build_one_stub): Move offsets into the offset argument
of _bfd_final_link_relocate. Correct offset for
arm_thumb_arm_v4t_stub_long_branch.
(elf32_arm_size_stubs): Set stub_entry->output_name.
(elf32_arm_ouput_plt_map_sym): Rename to elf32_arm_output_map_sym.
Update all callers.
(elf32_arm_output_stub_sym): New.
(arm_map_one_stub): Correct formatting. Use elf32_arm_output_stub_sym.
* ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm.d,
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
ld-arm/thumb2-bl-as-thumb1-bad.d, ld-arm/thumb2-bl-bad.d: Update for
stub symbols and stub corrections.
2008-06-25 14:28:48 +00:00
gdbadmin
685ba9ec61
*** empty log message ***
2008-06-25 00:00:03 +00:00
Michael Snyder
1f41b06255
2008-06-24 Michael Snyder <msnyder@specifix.com>
...
* infrun.c (_initialize_infrun): White space and typo fix.
2008-06-24 19:30:18 +00:00
Christopher Faylor
eff8332bf0
* win32-nat.c (safe_symbol_file_add_stub): Remove unused variable.
...
(do_initial_win32_stuff): Fix problem with inability to set breakpoints when
first loading DLL with "dll" command.
2008-06-24 02:33:17 +00:00
gdbadmin
cd2582e1a1
*** empty log message ***
2008-06-24 00:00:33 +00:00
Pierre Muller
e50ce6de32
* fix wrong entry dates
2008-06-23 06:54:36 +00:00
gdbadmin
171eda4590
*** empty log message ***
2008-06-23 00:00:03 +00:00
gdbadmin
07b360fc1f
*** empty log message ***
2008-06-22 00:00:02 +00:00
gdbadmin
f4b1119bfb
*** empty log message ***
2008-06-21 00:00:33 +00:00
Carlos O'Donell
8e4c5421d9
gdb/gdbserver/
...
2008-06-20 Carlos O'Donell <carlos@codesourcery.com>
* server.c (gdbserver_usage): Mention --version.
2008-06-20 16:01:42 +00:00
Pierre Muller
114374a0bc
* gnu-nat.c (proc_string): Use capital T for "Thread".
2008-06-20 06:51:34 +00:00
gdbadmin
a18470d110
*** empty log message ***
2008-06-20 00:00:33 +00:00
Pierre Muller
17526a8c50
* win32-nat.c (win32_pid_to_str): Use capital T for "Thread".
2008-06-19 06:36:45 +00:00
gdbadmin
dad28c3cb1
*** empty log message ***
2008-06-19 00:00:33 +00:00
Joel Brobecker
59ddf1e792
* solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
...
the target cannot run.
2008-06-18 21:30:50 +00:00
Joel Brobecker
ea8eedbe57
* solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
...
we're attaching to a running process.
2008-06-18 21:26:07 +00:00
Pierre Muller
7488902c73
* win32-nat.c (handle_load_dll): Give dll name and load address
...
if debug_events is on.
(handle_unload_dll): Likewise.
2008-06-18 06:27:34 +00:00
gdbadmin
a7abbf72b7
*** empty log message ***
2008-06-18 00:00:03 +00:00
gdbadmin
2bcebd8052
*** empty log message ***
2008-06-17 00:00:33 +00:00
gdbadmin
3536d051d0
*** empty log message ***
2008-06-16 00:00:02 +00:00
gdbadmin
8bb4c48c23
*** empty log message ***
2008-06-15 00:00:34 +00:00
gdbadmin
4e23993f94
*** empty log message ***
2008-06-14 00:00:33 +00:00
Vladimir Prus
8f6a8e8417
Don't suppress *running when doing finish.
...
* infcall.c (call_function_by_hand): Set both
suppress_resume_observer and suppress_stop_observer.
* infcmd.c (suppress_run_stop_observers): Split into...
(suppress_resume_observer, suppress_stop_observer): ...those.
(finish_command_continuation): Clear suppress_stop_observer.
(finish_command): Set suppress_stop_observer.
* inferior.h (suppress_run_stop_observers): Split into...
(suppress_resume_observer, suppress_stop_observer): ...those.
* infrun.c (normal_stop): Check for suppress_stop_observer.
* thread.c (set_running): Check for suppress_resume_observer.
2008-06-13 20:19:19 +00:00
Vladimir Prus
6ae37fefeb
Robustify mi-simplerun.
...
* gdb.mi/basics.c (main): Add a call to sleep.
* gdb.mi/mi-cli.exp: Adjust for change in line numbers.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi-break.exp: Likewise.
2008-06-13 19:53:42 +00:00
gdbadmin
32500740e2
*** empty log message ***
2008-06-13 00:00:03 +00:00
gdbadmin
1e6e8c4b76
*** empty log message ***
2008-06-12 00:00:33 +00:00
Pierre Muller
4309257cda
* gdbarch.sh (gdbarch_skip_main_prologue): New.
...
* gdbarch.h, gdbarch.c: Regenerate.
* i386-tdep.h (i386_skip_main_prologue): Declare.
* i386-tdep.c (i386_skip_main_prologue): New.
* i386-cygwin-tdep.c (i386_cygwin_init_abi): Register
i386_skip_main_prologue as gdbarch_skip_main_prologue gdbarch callback.
* symtab.c (find_function_start_sal): When pc points at the "main"
function, call gdbarch_skip_main_prologue.
2008-06-11 22:03:49 +00:00
Daniel Jacobowitz
a4e2ee12f0
* value.c (value_primitive_field): Fetch lazy register values.
2008-06-11 19:59:09 +00:00
Vladimir Prus
b4aa76f032
Fix date in changelog entry
2008-06-11 13:50:55 +00:00
Vladimir Prus
83408de733
* gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
2008-06-11 13:35:58 +00:00
Pedro Alves
060871df59
* NEWS: Mention support removal of undocumented S AA p PID stop
...
reply packet.
* remote.c (remote_wait): Remove undocumented S AA p PID support.
2008-06-11 12:56:36 +00:00
gdbadmin
3e066ca786
*** empty log message ***
2008-06-11 00:00:05 +00:00
Stan Shebs
336de56d78
2008-06-10 Stan Shebs <stan@codesourcery.com>
...
* MAINTAINERS: Update my affiliation and address.
2008-06-10 18:13:58 +00:00
Andreas Schwab
7949220d00
(print_gdb_version): Don't print final newline.
2008-06-10 11:57:28 +00:00
Vladimir Prus
e1ac332873
Implement *running.
...
* Makefile.in: Update dependencies.
* gdbthread.h (struct thread_info): New field
running_.
(set_running, is_running): New.
* thread.c (set_running, is_running): New.
* inferior.h (suppress_normal_stop_observer): Rename to...
(suppress_run_stop_observers): ..this.
* infcmd.c (suppress_normal_stop_observer): Rename to...
(suppress_run_stop_observers): ..this.
(finish_command_continuation, finish_command): Adjust.
* infcall.c (call_function_by_hand): Adjust.
* infrun.c (normal_stop): Call set_running.
* target.c (target_resume): New. Call set_running.
* target.h (target_resume): Convert from macro to
a function.
* mi/mi-interp.c (mi_on_resume): New.
(mi_interpreter_init): Register mi_on_resume.
2008-06-10 10:23:54 +00:00