OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gdb/] [gdb-6.8/] [gdb/] [ChangeLog] - Blame information for rev 25

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 25 jlechner
2008-03-27  Joel Brobecker  
2
 
3
        * NEWS: Replace "Changes since GDB 6.7" into changes in GDB 6.8".
4
 
5
2008-03-27  Joel Brobecker  
6
 
7
        * README: Update GDB version number to 6.8.
8
        * version.in: Likewise.
9
 
10
2008-03-21  Thomas Mittelstaedt    (tiny change)
11
 
12
        * aix-thread.c (pdc_read_regs): Fix compiler warning.
13
        (pdc_write_regs, aix_thread_resume, fetch_regs_kernel_thread)
14
        (store_regs_kernel_thread): Likewise.
15
 
16
2008-03-17  Daniel Jacobowitz  
17
 
18
        * stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR.
19
        * symmisc.c (dump_symtab_1): Likewise.
20
        * wrapper.c (gdb_value_struct_elt): Likewise.
21
 
22
2008-03-17  Nick Hudson  
23
 
24
        * Makefile.in (amd64nbsd-nat.o): New dependency.
25
        * amd64nbsd-nat.c: Include "nbsd-nat.h".
26
        (_initialize_amd64nbsd_nat): Update target vector to use
27
        nbsd_pid_to_exec_file.
28
        * config/i386/nbsd64.mh (NATDEPFILES): Add nbsd-nat.o.
29
 
30
2008-03-13  Joel Brobecker  
31
 
32
        * version.in: Set version to 6.7.90.20080313-cvs.
33
 
34
2008-03-13  Joel Brobecker  
35
 
36
        GDB 6.7.90 released.
37
 
38
2008-03-13  Joel Brobecker  
39
 
40
        * version.in: Set version to 6.7.90.
41
 
42
2008-03-13  Joel Brobecker  
43
 
44
        * README: Update GDB version number to 6.7.90.
45
 
46
2008-03-12  Pedro Alves  
47
 
48
        * thread.c (add_thread): Use printf_unfiltered to print.
49
 
50
2008-03-12  Joel Brobecker  
51
 
52
        * sol-thread.c: Replace use of TM_I386SOL2_H by an expression
53
        that is true only on x86-solaris and x86_64-solaris.
54
        * procfs.c: Likewise. Move procfs_find_LDT_entry up together
55
        with proc_get_LDT_entry.
56
 
57
2008-03-10  Matt Rice  
58
 
59
        * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC.
60
 
61
2008-03-04  Daniel Jacobowitz  
62
 
63
        * frame.c (reinit_frame_cache): Only annotate if frames were
64
        previously valid.
65
 
66
2008-03-04  Greg Law  
67
 
68
        * regcache.c (registers_changed): Call reinit_frame_cache.
69
 
70
2008-03-04  Thiago Jung Bauermann  
71
 
72
        * amd64-tdep.c (amd64_classify): Add support for decimal float
73
        types.
74
        * i386-tdep.c (i386_return_value): Make 128-bit decimal float
75
        use the struct return convention.
76
 
77
2008-02-29  Joel Brobecker  
78
 
79
        GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC)
80
        * version.in: Bump version to 6.7.90.20080226-cvs.
81
 
82
2008-02-26  Nick Roberts  
83
 
84
        * breakpoint.c (print_one_breakpoint_location): Revert Enb field
85
        to old format.  Discard breakpoint address if shared library is
86
        unloaded.
87
        (breakpoint_1): Adjust formatting of table header accordingly.
88
 
89
2008-02-25  Vladimir Prus  
90
 
91
       * remote.c (remote_get_threadlist): If the response
92
       is empty, don't try to parse it.
93
 
94
2008-02-23  Vladimir Prus  
95
 
96
        Unbreak 'target async'.
97
        * serial.c (serial_async): Set the
98
        handler function before enabling async
99
        mode.
100
 
101
2008-02-22  Daniel Jacobowitz  
102
 
103
        * solib-svr4.c (enable_break): Convert r_brk to a code address.
104
 
105
2008-02-21  Pedro Alves  
106
 
107
        * remote.c (extended_remote_attach_1): Set attach_flag.
108
        (extended_remote_create_inferior_1): Clear attach_flag.
109
 
110
2008-02-20  Daniel Jacobowitz  
111
 
112
        * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set
113
        r_brk_offset.
114
        (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
115
        * solib-svr4.c (solib_svr4_r_brk): New.
116
        (open_symbol_file_object, svr4_current_sos): Always check the
117
        debug base.
118
        (svr4_fetch_objfile_link_map): Do not set debug_base.
119
        (enable_break): Use r_brk if it is set.
120
        (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset.
121
        (svr4_lp64_fetch_link_map_offsets): Likewise.
122
        * solib-svr4.h (struct link_map_offsets): Add r_brk_offset.
123
 
124
2008-02-20  Markus Deuling  
125
            Mark Kettenis  
126
 
127
        * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by
128
        trad_frame_saved_reg.
129
        (trad-frame.h): New include.
130
 
131
        (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs
132
        instead of frame_obstack_zalloc.
133
        (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register.
134
 
135
        * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h.
136
 
137
2008-02-20  Markus Deuling  
138
 
139
        * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess
140
        from disassemble_info instead of gdbarch_byte_order.
141
 
142
        * mips-tdep.c (gdb_print_insn_mips): Likewise.
143
        * arm-tdep.c (gdb_print_insn_arm): Likewise.
144
 
145
2008-02-20  Markus Deuling  
146
 
147
        * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add
148
        gdbarch as parameter.
149
 
150
        * gdbarch.{c,h}: Regenerate.
151
 
152
        * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as
153
        parameter.
154
        * mem-break.c (default_memory_insert_breakpoint)
155
        (default_memory_remove_breakpoint): Likewise.
156
        * target.h (default_memory_remove_breakpoint)
157
        (default_memory_insert_breakpoint): Likewise.
158
 
159
        * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as
160
        parameter. Replace current_gdbarch by gdbarch.
161
        * m32r-tdep.c (m32r_memory_insert_breakpoint)
162
        (m32r_memory_remove_breakpoint): Likewise.
163
 
164
2008-02-19  Daniel Jacobowitz  
165
 
166
        * MAINTAINERS: Add Vladimir Prus as MI maintainer.
167
 
168
2008-02-19  Joel Brobecker  
169
 
170
        * NEWS: Add entry describing Add support improvements.
171
 
172
2008-02-18  Markus Deuling  
173
 
174
        * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
175
        M68K_FP0_REGNUM.
176
 
177
2008-02-18  Markus Deuling  
178
 
179
        * sentinel-frame.c (sentinel_frame_prev_register): Do not call
180
        register_offset_hack anymore.
181
 
182
        * regcache.{c,h} (register_offset_hack): Remove.
183
 
184
2008-02-18  Markus Deuling  
185
 
186
        * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.
187
 
188
        * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace
189
        current_gdbarch by gdbarch.
190
        (hppa64_hpux_find_global_pointer): Likewise.
191
        * hppa-tdep.c (hppa_find_global_pointer): Likewise.
192
        (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for
193
        find_global_pointer.
194
 
195
        * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as
196
        parameter.
197
        * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.
198
 
199
        * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead
200
        of gdbarch_num_regs.
201
 
202
        * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and
203
        replace current_gdbarch by gdbarch.
204
        (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
205
 
206
2008-02-18  Markus Deuling  
207
 
208
        * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
209
        and replace current_gdbarch by gdbarch.
210
 
211
        (store_register): Update call for exec_one_dummy_insn.
212
        (fetch_register, store_register): Update call of regmap.
213
 
214
        * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as
215
        parameter and replace current_gdbarch by gdbarch.
216
 
217
        (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at
218
        the current architecture. Update call for getregs_supplies and
219
        getfpregs_supplies.
220
        (ppcnbsd_fetch_inferior_registers): Likewise.
221
 
222
        * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and
223
        replace current_gdbarch by gdbarch.
224
        (ppcobsd_fetch_registers, ppcobsd_store_registers): Use
225
        get_regcache_arch to get at the current architecture. Update call for
226
        getfpregs_supplies.
227
 
228
2008-02-18  Markus Deuling  
229
 
230
        * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
231
        variables.
232
 
233
2008-02-15  Markus Deuling  
234
 
235
        * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
236
 
237
2008-02-14  Vladimir Prus  
238
 
239
        * NEWS: Mention pending breakpints in MI.
240
 
241
2008-02-14  Markus Deuling  
242
 
243
        * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
244
 
245
2008-02-13  Markus Deuling  
246
 
247
        Add script to build and test GDB using enable-targets=all.
248
 
249
        * gdb_buildall.sh: New file.
250
 
251
2008-02-11  Maxim Grigoriev  
252
 
253
        * NEWS (New native configurations): Xtensa GNU/Linux.
254
        (New targets): Xtensa GNU/Linux.
255
        * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
256
        xtensa-linux-tdep.o
257
        (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
258
        (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
259
        * configure.tgt (xtensa*-*-linux*): New entry.
260
        * xtensa-config.c (xtensa_tdep): New variable.
261
        (xtensa_config_byte_order, xtensa_config_tdep): Removed.
262
        (rmap): Change format based on new macro XTREG.
263
        (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
264
        * xtensa-linux-nat.c: New.
265
        * xtensa-linux-tdep.c: New.
266
        * xtensa-xtregs.c: New.
267
        * xtensa-tdep.h (xtensa_elf_gregset_t): Update.
268
        (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
269
        (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
270
        (xtensa_register_t): New field coprocessor.
271
        (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
272
        * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
273
        (xtensa_pseudo_register_read, xtensa_pseudo_register_write):
274
        Update to handle privileged registers.
275
        (xtensa_supply_gregset) Remove exccause and excvaddr registers.
276
        (xtensa_push_dummy_call): Set windowstart register correctly.
277
        (call0_analyze_prologue): Initialize xtensa_default_isa.
278
        (xtensa_derive_tdep): New.
279
        (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
280
        xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
281
        Call xtensa_derive_tdep().
282
        * config/xtensa/linux.mh: New.
283
        * regformats/reg-xtensa.dat: New.
284
 
285
2008-02-09  Aleksandar Ristovski    (tiny change)
286
 
287
        * corelow.c (core_open): Use IS_ABSOLUTE_PATH.
288
        (filenames.h): New include.
289
        * Makefile.in (corelow.o): Add dependency for filenames.h.
290
 
291
2008-02-08  Doug Evans  
292
 
293
        * source.c (find_and_open_source): Always rewrite absolute filenames.
294
 
295
2008-02-07  Doug Evans  
296
 
297
        * breakpoint.c: #include "hashtab.h".
298
        (ambiguous_names_p): New fn.
299
        (update_breakpoint_locations): When restoring bp enable status, don't
300
        compare function names if any functions have same name.
301
        * Makefile.in (breakpoint.o): Add hashtab.h dependency.
302
 
303
2008-02-07  Joel Brobecker  
304
 
305
        * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
306
        instead of just a VEC*. Update use of SV.
307
        (ada_make_symbol_completion_list): Update symbol_completion_add calls.
308
 
309
2007-02-07  Joel Brobecker  
310
 
311
        * NEWS: Put all new commands since gdb-6.7 together.
312
 
313
2007-02-07  Joel Brobecker  
314
 
315
        * ada-lang.c: #include "vec.h".
316
        (struct string_vector, new_string_vector, string_vector_append):
317
        Delete.
318
        (char_ptr): New typedef.
319
        (DEF_VEC_P (char_ptr)): New VEC type.
320
        (symbol_completion_add): Update profile to take the new VEC type
321
        instead of the old string_vector structure. Update code accordingly.
322
        (ada_make_symbol_completion_list): Use the new VEC type instead of
323
        the old string_vector structure, and update the code accordingly.
324
        * Makefile.in (ada-lang.o): Add dependency on vec.h.
325
 
326
2008-02-06  Pierre Muller  
327
 
328
        * p-exp.y: Set current_type in missing places.
329
        (leftdiv_is_integer): New static variable.
330
        Typecast right operand of BINOP_DIV to long_double if both operands
331
        are integers.
332
 
333
2008-02-06  Maciej W. Rozycki  
334
 
335
        * remote-mips.c (set_breakpoint): Rename to...
336
        (mips_set_breakpoint): ... this.
337
        (clear_breakpoint): Rename to...
338
        (mips_clear_breakpoint): ... this.
339
        (common_breakpoint): Rename to...
340
        (mips_common_breakpoint): ... this.
341
        (check_lsi_error): Rename to...
342
        (mips_check_lsi_error): ... this.
343
 
344
2007-02-05  Joel Brobecker  
345
 
346
        * language.h (struct language_defn): Add new field
347
        la_make_symbol_completion_list.
348
        * symtab.c (default_make_symbol_completion_list): Renames
349
        make_symbol_completion_list.
350
        (make_symbol_completion_list): New function.
351
        * symtab.h (default_make_symbol_completion_list): Add declaration.
352
        * langauge.c (unknown_language): Set la_make_symbol_completion_list.
353
        (auto_language, local_language): Likewise.
354
        * objc-lang.c (objc_language_defn): Likewise.
355
        * scm-lang.c (scm_language_defn): Likewise.
356
        * m2-lang.c (m2_language_defn): Likewise.
357
        * f-lang.c (f_language_defn): Likewise.
358
        * jv-lang.c (java_language_defn): Likewise.
359
        * p-lang.c (pascal_language_defn): Likewise.
360
        * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
361
        (minimal_language_defn): Likewise.
362
        * ada-lang.c (struct string_vector): New structure.
363
        (new_string_vector, string_vector_append, ada_unqualified_name)
364
        (add_angle_brackets, symbol_completion_match, symbol_completion_add)
365
        (ada_make_symbol_completion_list): New functions.
366
        (ada_language_defn): Set la_make_symbol_completion_list.
367
        * ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
368
        this function is static.
369
 
370
2008-02-05  Kevin Buettner  
371
 
372
        * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
373
        to account for call site optimizations.
374
 
375
2008-02-05  Andrzej Zaborowski  
376
 
377
        * tracepoint.c (read_actions): Handle end-of-text indicator
378
        in action list properly.  (Committed by Jim Blandy)
379
 
380
2008-02-05  Jim Blandy  
381
 
382
        * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
383
        pseudoregister, not an internal error.
384
        Reported by: Andrzej Zaborowski
385
 
386
2008-02-04  Vladimir Prus  
387
 
388
        * varobj.c (c_value_of_variable): Use xstrdup.
389
 
390
2008-02-04  Vladimir Prus  
391
 
392
        Update stored rendition of varobj value when format changes.
393
        * varobj.c (varobj_set_display_format): Recomputed
394
        print_value.
395
        (c_value_of_variable): Return print_value.
396
 
397
2008-02-03  Doug Evans  
398
 
399
        * eval.c (evaluate_subexp_standard): Fix type of result of mixed
400
        integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
401
        * valops.c (value_one): New function.
402
        * value.h (value_one): Declare.
403
 
404
        Fix argument promotion for binary arithmetic ops for C.
405
        * valarith.c (unop_result_type): New fn.
406
        (binop_result_type): New fn.
407
        (value_binop): Move result type computation to binop_result_type.
408
        (value_pos, value_neg, value_complement): Move result type
409
        computation to unop_result_type.
410
 
411
        PR 2384
412
        * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
413
        Return basetype, fieldno if found.  All callers updated.
414
        Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
415
        objfile.
416
        * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
417
        * symfile.h (fill_in_vptr_fieldno): Delete.
418
 
419
2008-02-02  Doug Evans  
420
 
421
        * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
422
 
423
        * typeprint.c (*): Whitespace cleanup.
424
 
425
2008-02-02  Mark Kettenis  
426
            Luis Machado  
427
            Thiago Jung Bauermann  
428
 
429
        * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
430
        don't fit into registerson the stack the way GCC does.
431
 
432
2008-02-01  Joel Brobecker  
433
 
434
        * symtab.c (symbol_set_names): Do not add an entry in the demangling
435
        hash table for Ada symbols. Just store the linkage name as is,
436
        and leave the demangled_name as NULL.
437
 
438
2007-02-01  Joel Brobecker  
439
 
440
        * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
441
        in the global scope.
442
        (new_symbol): Likewise.
443
 
444
2008-02-01  Vladimir Prus  
445
 
446
        * breakpoint.c (break_command_1): Return void.
447
        (break_command_really): Return void.  Rethrow
448
        exceptions instead of returning.
449
        (gdb_breakpoint): Remove the error_message parameter.
450
        Return void.  Rename to set_breakpoint.
451
        * gdb.h (gdb_breakpoint): Rename and move to...
452
        * breakpoint.h (set_breakpoint): ...here.
453
        * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
454
        event hooks even if exception is thrown.  Adjust to
455
        gdb_breakpoint interface changes.
456
 
457
 
458
2008-02-01  Thiago Jung Bauermann  
459
 
460
        * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
461
        float in both first and second word in the doubleword, to support
462
        old and new ABIs.
463
 
464
2008-02-01  Vladimir Prus  
465
 
466
        Properly rethrow exception.  This fixes errors
467
        about non-existent functions for -break-insert.
468
        * breakpoint.c (break_command_really): Use throw_exception
469
        for rethrowing.  If rethrowing, don't print the exception.
470
 
471
2008-01-31  Thiago Jung Bauermann  
472
 
473
        * NEWS: Mention Decimal Floating Point support.
474
 
475
2008-01-31  Joel Brobecker  
476
 
477
        * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
478
        value type to builtin_type_void_func_ptr.
479
 
480
2008-01-31  Andreas Krebbel  
481
 
482
        * s390-tdep.c (is_float_singleton, is_float_like,
483
        alignment_of, s390_return_value): Make checks for
484
        TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.
485
 
486
2008-01-31  Luis Machado  
487
            Thiago Jung Bauermann  
488
 
489
        * infcmd.c (default_print_registers_info): Also print hex
490
        raw contents for TYPE_CODE_DECFLOAT registers.
491
        * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
492
        * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
493
        (rs6000_register_name): Add support for DFP pseudo-registers.
494
        (rs6000_pseudo_register_type): Likewise.
495
        rs6000_pseudo_register_reggroup_p): Likewise.
496
        (ppc_pseudo_register_read): New function.
497
        (ppc_pseudo_register_write): Likewise.
498
        (rs6000_pseudo_register_read): Likewise.
499
        (rs6000_pseudo_register_write): Likewise.
500
        (e500_pseudo_register_read): Move checks to
501
        rs6000_pseudo_register_read.
502
        (e500_pseudo_register_write): Move checks to
503
        rs6000_pseudo_register_write.
504
        (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum.  Install
505
        rs6000_pseudo_register_read and rs6000_pseudo_register_write
506
        in gdbarch if SPE or DFP is available.  Adjust gdbarch's
507
        num_pseudo_regs to account for DFP pseudo regs.
508
 
509
2008-01-31  Thiago Jung Bauermann  
510
 
511
        * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
512
        * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
513
        (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
514
        rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
515
        e500_pseudo_register_read, e500_pseudo_register_write): Use
516
        IS_SPE_PSEUDOREG macro.
517
        (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
518
        (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
519
        Remove initialization of tdep->ppc_ev31_regnum.
520
 
521
2008-01-08  Paul Hilfinger  
522
 
523
        * printcmd.c (print_formatted): Handle references as for unformatted
524
        prints.
525
 
526
2008-01-30  Joel Brobecker  
527
 
528
        * eval.c (evaluate_subexp_standard): Add handling of user
529
        registers when in EVAL_AVOID_SIDE_EFFECTS mode.
530
 
531
2008-01-30  Pierre Muller  
532
 
533
        * eval.c (evaluate_subexp_standard): Support
534
        BINOP_INTDIV opcode.
535
 
536
2008-01-30  Paul N. Hilfinger  
537
 
538
        * valarith.c (value_binop): Add floating-point BINOP_MIN and
539
        BINOP_MAX cases.
540
        For BINOP_EXP, use length and signedness of left operand only for
541
        result, as for shifts.
542
        For integral operands to BINOP_EXP, use new integer_pow and
543
        uinteger_pow functions so as to get full range of results.
544
        (integer_pow): New function.
545
        (uinteger_pow): New function.
546
 
547
2008-01-30  Vladimir Prus  
548
 
549
        Use vector for varobj_list_children interface.
550
        * gdb/varobj.c (varobj_list_children): Return vector
551
        of varobjs.
552
        * gdb/varobj.h (varobj_list_children): Adjust
553
        prototype.
554
        (varobj_p): Declare.  Declare vector thereof.
555
        * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
556
        for varobj_list_children change.
557
        * Makefile.in (varobj_h): Update dependencies.
558
 
559
2008-01-30  Thiago Jung Bauermann  
560
 
561
        * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
562
        TYPE_CODE_DECFLOAT arguments.
563
        (ppc64_sysv_abi_push_dummy_call) Likewise.
564
        (get_decimal_float_return_value): New function.
565
        (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
566
        values by calling get_decimal_float_return_value.
567
        (ppc64_sysv_abi_return_value): Likewise.
568
 
569
2008-01-30  Nick Roberts  
570
 
571
        * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file):  Add field
572
        for preprocessor macro information.  Formatting changes.
573
 
574
2008-01-29  Daniel Jacobowitz  
575
 
576
        * remote.c (struct remote_state): Add cached_wait_status.
577
        (remote_exec_file): New variable.
578
        (PACKET_vAttach, PACKET_vRun): New constants.
579
        (extended_remote_restart): Do not query for status.
580
        (struct start_remote_args): New.
581
        (remote_start_remote): Take it as a second argument.  Check
582
        whether the target is running.  Issue an error for non-running
583
        non-extended targets.  Cache the wait status.  Set inferior_ptid
584
        here.
585
        (remote_open_1): Prompt to disconnect non-running targets.  Make
586
        sure the target is marked running.  Do not set inferior_ptid here.
587
        Update call to remote_start_remote.  Do not call remote_check_symbols
588
        if the target is not running.
589
        (remote_detach_1): Rename from remote_detach.  Take an EXTENDED
590
        argument.  Handle a non-running target.
591
        (remote_detach): Use it.
592
        (extended_remote_detach): New.
593
        (remote_disconnect): Fix typo.  Use remoute_mourn_1.
594
        (extended_remote_attach_1, extended_remote_attach)
595
        (extended_async_remote_attach): New.
596
        (remote_vcont_resume): Remove unused variable.
597
        (remote_wait, remote_async_wait): Use any cached wait status.
598
        (putpkt_binary, getpkt): Clear any cached wait status.
599
        (extended_remoute_mourn_1): New.
600
        (extended_remote_mourn): Use it.
601
        (extended_async_remote_mourn, extended_remote_run): New.
602
        (extended_remote_create_inferior_1): New.
603
        (extended_remote_create_inferior): Use it.
604
        (extended_remote_async_create_inferior): Likewise.
605
        (remote_xfer_partial): Skip for non-executing targets.
606
        (init_extended_remote_ops): Set to_detach and to_attach.
607
        (init_extended_async_remote_ops): Likewise.  Use
608
        extended_async_remote_mourn.
609
        (_initialize_remote): Register vAttach, vRun, and
610
        set remote exec-file.
611
        * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
612
 
613
2008-01-29  Daniel Jacobowitz  
614
 
615
        * Makefile.in (symfile.o): Update.
616
        * NEWS: Mention exec tracing support.
617
        * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
618
        exec events.
619
        * infcmd.c (kill_if_already_running, detach_command)
620
        (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
621
        * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
622
        (follow_exec): Do not check may_follow_exec.  Do not mourn and push
623
        targets.  Apply the sysroot path to the loaded executable.  Use
624
        no_shared_libraries.
625
        * linux-nat.c (linux_child_follow_fork): Print fork following
626
        messages if verbose.
627
        (kill_wait_callback): Kill again before waiting a second time.
628
        * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
629
        no_shared_libraries.
630
 
631
2008-01-29  Joel Brobecker  
632
 
633
        * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
634
 
635
2008-01-29  Joel Brobecker  
636
 
637
        * nto-tdep.h: Remove #include "defs.h".
638
        * nto-tdep.c: Add #include "defs.h".
639
        * Makefile.in (nto_tdep_h): Update dependencies.
640
        (nto-tdep.o): Likewise.
641
 
642
2008-01-29  Joel Brobecker  
643
 
644
        * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
645
        and use it.
646
        (proceed, start_remote): Update call to wait_for_inferior.
647
        * inferior.h (wait_for_inferior): Update declaration.
648
        * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
649
        solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
650
        * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
651
        TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
652
 
653
2008-01-29  Aleksandar Ristovski  
654
 
655
        * varobj (adjust_value_for_child_access): Added checking for
656
        returned value from gdb_value_ind.
657
        (c_describe_child): Likewise.
658
        (cplus_describe_child): Fixed a typo.
659
 
660
2008-01-29  Jim Blandy  
661
 
662
        * MAINTAINERS: Update my info.
663
 
664
2008-01-29  Vladimir Prus  
665
 
666
        Use multiple locations for hardware watchpoints.
667
        This eliminates the need to traverse value chain, doing
668
        various checks, in three different places.
669
 
670
        * breakpoint.h (struct bp_location): New fields
671
        lengths and watchpoint_type.
672
        (struct breakpoint): Remove the val_chain field.
673
        * breakpoint.c (is_hardware_watchpoint): New.
674
        (free_valchain): Remove.
675
        (update_watchpoint): New.
676
        (insert_bp_location): For hardware watchpoint, just
677
        directly insert it.
678
        (insert_breakpoints): Call update_watchpoint_locations
679
        on all watchpoints.  If we have failed to insert
680
        any location of a hardware watchpoint, remove all inserted
681
        locations.
682
        (remove_breakpoint): For hardware watchpoints, directly
683
        remove location.
684
        (watchpoints_triggered): Iterate over locations.
685
        (bpstat_stop_status): Use only first location of
686
        a resource watchpoint.
687
        (delete_breakpoint): Don't call free_valchain.
688
        (print_one_breakpoint): Don't print all
689
        locations for watchpoints.
690
        (breakpoint_re_set_one): Use update_watchpoint for
691
        watchpoints.
692
 
693
2008-01-29  Vladimir Prus  
694
 
695
        Don't reset watchpoint block on solib load.
696
 
697
        * breakpoint.c (insert_bp_location): For watchpoints,
698
        recompute condition.
699
        (breakpoint_re_set_one): Instead of recomputing value
700
        and condition for watchpoints, just reset value and
701
        let insert_breakpoints/insert_bp_location recompute it.
702
        Don't do anything about disabled watchpoint.
703
 
704
2008-01-29  Pierre Muller  
705
 
706
        * valarith.c (value_binop): Handle unsigned integer
707
        division by zero.
708
 
709
2008-01-28  Kevin Buettner  
710
 
711
        * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
712
        instruction pattern that appears frequently in position
713
        independent code.  Fix bug in code which looks for "fmov" and
714
        backtracks if no "fmov" is found.
715
 
716
2008-01-28  Doug Evans  
717
 
718
        * dbxread.c (read_dbx_symtab): Fix indentation.
719
        Reformat comments to 80 columns.
720
        Move local var def closer to only use.
721
 
722
2008-01-28  Daniel Jacobowitz  
723
 
724
        * fork-child.c (SHELL_FILE): Remove #ifndef.
725
        (fork_inferior): Remove SHELL_COMMAND_CONCAT.
726
 
727
2008-01-25  Pierre Muller  
728
 
729
        * i386-tdep.c (i386_skip_noop): New function.
730
        (i386_analyze_prologue): Call i386_skip_noop function.
731
 
732
2008-01-24  Michael Snyder  
733
 
734
        * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
735
        * win32-nat.c (win32_xfer_partial): Ditto.
736
        * target.c (default_xfer_partial): Minor whitespace adjustment.
737
 
738
2008-01-24  Pedro Alves  
739
 
740
        * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
741
        strip bit 1 even if pc doesn't point to thumb code.
742
 
743
2008-01-23  Daniel Jacobowitz  
744
 
745
        * remote.c (remote_wait): Handle SIGINT between packets.
746
        (remote_async_wait): Likewise.
747
 
748
2008-01-23  Vladimir Prus  
749
            Chris Demetriou  
750
 
751
        * thread.c (add_thread_silent): Renamed
752
        from add_thread.
753
        (print_thread_events): New variable definition.
754
        (show_print_thread_events): New function.
755
        (_initialize_thread): Add "set print thread-events" and
756
        "show print thread-events" commands.
757
        (add_thread): Announce new thread.
758
        * gdbthread.h (add_thread_silent): Declare.
759
        (print_thread_events): New variable declaration.
760
        * inf-ttrace.c (inf_ttrace_wait): Don't
761
        inform about new thread, as add_thread is always
762
        called too, and will take care of that.
763
        * infrun.c (handle_inferior_event): Likewise.
764
        * procfs.c (procfs_wait): Likewise.
765
        * remote.c (remote_currthread): Likewise.
766
        * sol-thread.c (sol_thread_wait): Likewise.
767
        * win32-nat.c (get_win32_debug_event): Likewise.
768
        * linux-thread-db.c (attach_thread): Likewise.
769
        Remove the verbose parameter.
770
        (check_event): Make detach_thread be verbose
771
        only if print_thread_events is set.
772
        * linux-nat.c (lin_lwp_attach_lwp): Don't inform
773
        about new thread.  This is called only from
774
        linux-thread-db.c:attach_thread, which will take care.
775
        Remove the verbose parameter.
776
        * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
777
 
778
2008-01-23  Nick Roberts  
779
 
780
        * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
781
 
782
2008-01-22  Vladimir Prus  
783
 
784
        * breakpoint.c (break_command_really): New parameter
785
        ignore_count.
786
        (break_command_1): Pass 0 as
787
        ignore_count to break_command_really.
788
        (gdb_breakpoint): Pass ignore_count to
789
        break_command_really.
790
 
791
2008-01-21  Kevin Buettner  
792
 
793
        * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
794
        sigcontext struct via pointer.
795
        (struct sigframe comment): Update to show new field `psc'.
796
 
797
2008-01-21  Vladimir Prus  
798
 
799
        * infrun.c (handle_inferior_event): If
800
        we failed to remove breakpoints, error,
801
        don't try to increment PC by hand.
802
 
803
2008-01-18  Nick Hudson  
804
 
805
        Add NetBSD/hppa target and host support.
806
 
807
        * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
808
        (hppabsd_gregset): Move to ...
809
        (hppabsd_regset_from_core_section): Rename
810
        hppaobsd_regset_from_core_section and move to ...
811
        (hppabsd_find_global_pointer): Update comment.
812
        (hppabsd_init_abi): Make global. Do not register
813
        hppabsd_regset_from_core_section.
814
        (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
815
        move to ...
816
        (_initialize_hppabsd_tdep): Move to ...
817
        * hppaobsd-tdep.c: ... here. New file.
818
        * hppnbsd-tdep.c: New file.
819
        * hppnbsd-nat.c: New file.
820
        * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
821
        (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
822
        (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
823
        (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
824
        * configure.host (hppa*-*-netbsd*): New entry.
825
        * configure.tgt (hppa*-*-netbsd*): New entry.
826
        (hppa*-*-openbsd*): Update.
827
        * NEWS (New native configuration): Mention NetBSD/hppa.
828
        (New targets): Mention NetBSD/hppa.
829
 
830
2008-01-18  Markus Deuling  
831
 
832
        * gdbarch.sh (function_list): Add new property bits_big_endian to
833
        gdbarch structure.
834
        * gdbarch.{c,h}: Regenerate.
835
 
836
        * value.c (struct value): Replace BITS_BIG_ENDIAN by
837
        gdbarch_bits_big_endian (comment).
838
        (unpack_field_as_long, modify_field): Likewise.
839
        * value.h: Likewise (comment).
840
        * valops.c (value_slice): Likewise.
841
        * valarith.c (value_subscript, value_bit_index): Likewise.
842
        * gdbtypes.h (field): Likewise (comment).
843
        * eval.c (evaluate_subexp_standard): Likewise.
844
        * dwarf2read.c (dwarf2_add_field): Likewise.
845
        * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
846
        (move_bits, ada_value_assign, value_assign_to_component): Likewise.
847
 
848
        * defs.h (BITS_BIG_ENDIAN): Remove.
849
 
850
2008-01-18  Markus Deuling  
851
 
852
        * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
853
        function calls.
854
        * m2-exp.y (yylex): Likewise.
855
        * objc-exp.y (yylex): Likewise.
856
 
857
        * defs.h (DEPRECATED_STREQN): Remove.
858
 
859
2008-01-17  H.J. Lu  
860
 
861
        * MAINTAINERS: Update my email address.
862
 
863
2008-01-17  Jim Blandy  
864
 
865
        * README: Mention gdbserver/README.
866
 
867
2008-01-17  Pierre Muller  
868
 
869
        * valarith.c (value_binop): Handle BINOP_INTDIV
870
        for unsigned and signed integers.
871
 
872
2008-01-17  Ulrich Weigand  
873
 
874
        * s390-tdep.c (s390_gdbarch_init): Set default long double
875
        type to 128-bit IEEE quad.
876
 
877
2008-01-17  Joel Brobecker  
878
 
879
        * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
880
 
881
2008-01-16  Mark Kettenis  
882
 
883
        * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
884
 
885
        * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
886
        * value.c: All callers changed.
887
 
888
2008-01-16  Markus Deuling  
889
 
890
        * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
891
        DEPRECATED_STREQ by its expression.
892
        * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
893
        * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
894
        (scan_xcoff_symtab): Likewise.
895
        * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
896
        * f-lang.c (find_common_for_function): Likewise.
897
        * objc-exp.y (parse_number): Likewise.
898
 
899
        * defs.h (DEPRECATED_STREQ): Remove.
900
 
901
2008-01-16  Markus Deuling  
902
 
903
        * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
904
        * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
905
        get_frame_arch to get at the current_architecture. Update AM33_MODE
906
        call.
907
        (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
908
        (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
909
        architecture.
910
        (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
911
 
912
2008-01-16  Markus Deuling  
913
 
914
        * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
915
        parameter.
916
        * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
917
 
918
        (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
919
        current_gdbarch by gdbarch. Update caller.
920
 
921
        * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
922
        (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
923
        the current architecture. Update calls of
924
        amd64_native_gregset_supplies_p.
925
        * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
926
        (amd64bsd_store_inferior_registers): Likewise.
927
 
928
2008-01-16  Markus Deuling  
929
 
930
        * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
931
        Replace current_gdbarch by gdbarch. Update caller.
932
 
933
2008-01-16  Markus Deuling  
934
 
935
        * dbxread.c (repeated_header_complaint, dbx_symfile_init)
936
        (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
937
        (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
938
        (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
939
        (stabsect_build_psymtabs): Fix indentation.
940
 
941
2008-01-15  Michael Snyder  
942
 
943
        * corelow.c (core_xfer_partial): Comment, cut/paste error.
944
 
945
2008-01-14  Pierre Muller  
946
 
947
        * win32-nat.c (win32_create_inferior): Restore code calling
948
        CloseHandle on ProcessInformation structure.
949
 
950
2008-01-13  Nick Hudson  
951
 
952
        * configure.ac: Check for void * as 3 argument of ptrace.
953
        * configure: regenerate.
954
 
955
2008-01-11  Markus Deuling  
956
 
957
        * alpha-tdep.c (alpha_heuristic_proc_start)
958
        (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
959
        current_gdbarch by gdbarch.
960
 
961
        (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
962
        current architecture by frame_info. Update alpha_heuristic_proc_start
963
        call.
964
 
965
        (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
966
        get_frame_arch to get at the current architecture by frame_info. Update
967
        alpha_sigtramp_register_address call.
968
 
969
        * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
970
        current_gdbarch by gdbarch. Update caller.
971
        (convert_to_extended, convert_from_extended): Add endianess parameter
972
        for comparison. Update caller.
973
        (arm_extract_return_value, arm_store_return_value): Use
974
        get_regcache_arch to get at the current architecture.
975
 
976
        * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
977
        current_gdbarch by gdbarch. Update caller.
978
        (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
979
        gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
980
 
981
        * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
982
        gdbarch as parameter. Update caller.
983
        (h8300_init_frame_cache): Add gdbarch as parameter. Replace
984
        current_gdbarch by gdbarch. Update caller.
985
 
986
        * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
987
        update caller. Replace current_gdbarch by gdbarch.
988
 
989
        * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
990
        the current architecture. Replace current_gdbarch by gdbarch.
991
        * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
992
        (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
993
        expression. Add gdbarch as parameter and replace current_gdbarch with
994
        it. Update caller.
995
        (M6811_TDEP): Remove.
996
        (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
997
        architecture.
998
        (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
999
        current_gdbarch by gdbarch. Update caller.
1000
 
1001
        * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
1002
        update caller.
1003
        (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
1004
        by gdbarch.
1005
 
1006
        * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
1007
        caller. Relace current_gdbarch by gdbarch.
1008
        (altivec_register_p, spe_register_p): Likewise.
1009
        * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
1010
        parameter.
1011
        * ppc-linux-nat.c (fetch_register, store_register): Update caller of
1012
        altivec_register_p and spe_register_p.
1013
 
1014
        * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
1015
        caller. Replace current_gdbarch by gdbarch.
1016
        (score_analyze_prologue): use get_frame_arch to get at the current
1017
        architecture.
1018
 
1019
        * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
1020
        * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
1021
        current_gdbarch by gdbarch. Update caller.
1022
        (sparc_frame_cache): Use get_frame_arch to get at the current
1023
        architecture.
1024
        * sparce64-tdep.c (sparc64_skip_prologue): Update call of
1025
        sparc_analyze_prologue.
1026
 
1027
        * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
1028
        parameter.
1029
 
1030
2008-01-11  Markus Deuling  
1031
 
1032
        * exec.c: #include "arch-utils.h"
1033
         (print_section_info): Use gdbarch_from_bfd to get at the
1034
        current architecture. Replace current_gdbarch. Fix indention. Replace
1035
        deprecated_print_address_numeric by paddress.
1036
        * Makefile.in (exec.o) Add dependency to arch-utils.h.
1037
 
1038
        * valprint.c (val_print_string): Replace
1039
        deprecated_print_address_numeric.
1040
        * tracepoint.c (trace_mention, scope_info): Likewise.
1041
        * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
1042
        (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
1043
        (maintenance_check_symtabs): Likewise.
1044
        * symfile.c (list_overlays_command): Likewise.
1045
        * stack.c (frame_info, print_block_frame_labels): Likewise.
1046
        * printcmd.c (print_address, print_address_demangle)
1047
        (address_info): Likewise.
1048
        * corefile.c (memory_error): Likewise.
1049
        * infcmd.c (jump_command): Likewise.
1050
        * breakpoint.c (insert_bp_location, describe_other_breakpoints)
1051
        (mention, delete_breakpoint): Likewise.
1052
        * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
1053
        * dwarf2read.c (dump_die): Likewise.
1054
        * ada-valprint.c (ada_val_print_1): Likewise.
1055
        * f-valprint.c (f_val_print): Likewise.
1056
        * linux-fork.c (info_forks_command): Likewise.
1057
        * m32r-com.c (m32r_load_section, m32r_load)
1058
        (m32r_upload_command): Likewise.
1059
 
1060
        * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
1061
 
1062
2008-01-11  Markus Deuling  
1063
 
1064
        * gdbarch.sh (skip_prologue): Add gdbarch
1065
        as parameter.
1066
        * gdbarch.{c,h}: Regenerate.
1067
 
1068
        * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
1069
        * amd64-tdep.c (amd64_skip_prologue): Likewise.
1070
        * avr-tdep.c (avr_skip_prologue): Likewise.
1071
        * cris-tdep.c (cris_skip_prologue): Likewise.
1072
        * frv-tdep.c (frv_skip_prologue): Likewise.
1073
        * h8300-tdep.c (h8300_skip_prologue): Likewise.
1074
        * hppa-tdep.c (hppa_skip_prologue): Likewise.
1075
        * i386-tdep.c (i386_skip_prologue): Likewise.
1076
        * ia64-tdep.c (ia64_skip_prologue): Likewise.
1077
        * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
1078
        * m32r-tdep.c (m32r_skip_prologue): Likewise.
1079
        * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
1080
        * m68k-tdep.c (m68k_skip_prologue): Likewise.
1081
        * m88k-tdep.c (m88k_skip_prologue): Likewise.
1082
        * mep-tdep.c (mep_skip_prologue): Likewise.
1083
        * mips-tdep.c (mips_skip_prologue): Likewise.
1084
        * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
1085
        * mt-tdep.c (mt_skip_prologue): Likewise.
1086
        * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
1087
        * score-tdep.c (score_skip_prologue): Likewise.
1088
        * sh64-tdep.c (sh64_skip_prologue): Likewise.
1089
        * sh-tdep.c (sh_skip_prologue): Likewise.
1090
        * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
1091
        * sparc-tdep.c (sparc32_skip_prologue): Likewise.
1092
        * spu-tdep.c (spu_skip_prologue): Likewise.
1093
        * v850-tdep.c (v850_skip_prologue): Likewise.
1094
        * vax-tdep.c (vax_skip_prologue): Likewise.
1095
        * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
1096
        * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
1097
 
1098
        * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
1099
        current_gdbarch by gdbarch.
1100
        * m32c-tdep.c (m32c_skip_prologue): Likewise.
1101
        * s390-tdep.c (s390_skip_prologue): Likewise.
1102
 
1103
2008-01-10  Doug Evans  
1104
 
1105
        * defs.h (struct continuation_arg): Fix typo in comment.
1106
        * target.c (target_translate_tls_address): Fix comment spelling error.
1107
 
1108
2008-01-09  Thiago Jung Bauermann  
1109
 
1110
        * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
1111
        (DOUBLEST_SCAN_FORMAT): Likewise.
1112
        * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
1113
        * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
1114
        * c-exp.y (parse_number): Likewise.
1115
        * jv-exp.y (parse_number): Likewise.
1116
        * objc-exp.y (parse_number): Likewise.
1117
        * p-exp.y (parse_number): Likewise.
1118
 
1119
2008-01-09  Joel Brobecker  
1120
 
1121
        * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
1122
        (check_typedef): Likewise.
1123
 
1124
2008-01-09  Luis Machado  
1125
 
1126
        * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
1127
        seen_double_big_d, treat the new H, D, and DD modifiers as length
1128
        modifiers.
1129
 
1130
2008-01-08  Joel Brobecker  
1131
 
1132
        * dwarf2read.c (read_enumeration_type): Add comment.
1133
 
1134
2008-01-08  Thiago Jung Bauermann  
1135
 
1136
        * config.in: Regenerate.
1137
 
1138
2008-01-08  Joel Brobecker  
1139
 
1140
        * ada-lang.c (ada_convert_actual): Renames convert_actual.
1141
        Make non-static.
1142
        (ada_convert_actuals): Delete.
1143
        * ada-lang.h (ada_convert_actual): Add declaration.
1144
        (ada_convert_actuals): Remove declaration.
1145
        * infcall.c: #include "ada-lang.h".
1146
        (value_arg_coerce): Add new parameter sp.  Update function
1147
        documetnation.  Add handling of Ada function call parameters.
1148
        * Makefile.in (infcall.o): Update dependencies.
1149
 
1150
2008-01-08  Paul Hilfinger  
1151
 
1152
        * ada-lang.c (ensure_lval): Fix value lval kind.
1153
        (convert_actual): Add handling for arguments passed by reference.
1154
 
1155
2008-01-08  Doug Evans  
1156
 
1157
        * dbxread.c (read_dbx_symtab): Fix indentation.
1158
 
1159
2008-01-07  Thiago Jung Bauermann  
1160
 
1161
        * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
1162
        (valarith.o): Depend on dfp.h.
1163
        (valops.o): Likewise.
1164
        * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
1165
        (set_decnumber_context): New function.
1166
        (decimal_check_errors): Likewise.
1167
        (decimal_from_number): Likewise.
1168
        (decimal_to_number): Likewise.
1169
        (decimal_from_string): Use set_decnumber_context and
1170
        decimal_check_errors.
1171
        (decimal_from_integral): New function.
1172
        (decimal_from_floating): Likewise.
1173
        (decimal_to_double): Likewise.
1174
        (promote_decimal): Likewise.
1175
        (decimal_binop): Likewise.
1176
        (decimal_is_zero): Likewise.
1177
        (decimal_compare): Likewise.
1178
        (decimal_convert): Likewise.
1179
        * dfp.h (decimal_from_integral): New prototype.
1180
        (decimal_from_floating): Likewise.
1181
        (decimal_to_double): Likewise.
1182
        (decimal_binop): Likewise.
1183
        (decimal_is_zero): Likewise.
1184
        (decimal_compare): Likewise.
1185
        (decimal_convert): Likewise.
1186
        * eval.c (evaluate_subexp_standard): Remove expect_type argument from
1187
        call to value_from_decfloat.
1188
        * valarith.c: Include dfp.h.
1189
        (value_args_as_decimal): New function.
1190
        (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
1191
        (value_logical_not): Likewise.
1192
        (value_equal): Likewise.
1193
        (value_less): Likewise.
1194
        (value_pos): Likewise.
1195
        (value_neg): Formatting fix.
1196
        * valops.c: Include dfp.h.
1197
        (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
1198
        * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
1199
        (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
1200
        (value_from_decfloat): Remove expect_type argument.
1201
        * value.h (value_from_decfloat): Update prototype.
1202
 
1203
2008-01-07  Vladimir Prus  
1204
 
1205
        Ignore change in name of dynamic linker during
1206
        execution on Solaris.  This also unbreaks pending breakpoints.
1207
 
1208
        * solist.h (struct target_so_ops): New field same.
1209
        * solib-svr4.c (svr4_same): New.
1210
        (_initialize_svr4_solib): Register svr4_same.
1211
        * solib.c (update_solib_list): Use ops->same, if available.
1212
 
1213
2008-01-06  Christopher Faylor  
1214
 
1215
        * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
1216
        when using MS-DOS paths.
1217
 
1218
2008-01-05  Pedro Alves  
1219
 
1220
        * NEWS: Mention --pid and --core command line behaviour changes.
1221
 
1222
2008-01-05  Pedro Alves  
1223
 
1224
        * main.c (captured_main): Remove 'count' varible and the
1225
        ALIGN_STACK_ON_ENTRY block that used it.  Error out if --core and
1226
        --pid options were issued simultaneously.  If an explicit pid
1227
        option was passed, don't fallback to core file.  Detect extra
1228
        arguments better in the presence of explicit pid or core
1229
        arguments.
1230
 
1231
2008-01-05  Joel Brobecker  
1232
 
1233
        * ada-lang.c (ada_which_variant_applies): Correctly compute
1234
        the value of the discriminant when the variant record is packed.
1235
 
1236
2008-01-04  Joel Brobecker  
1237
 
1238
        * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
1239
        that are used to differentiate homonyms.
1240
 
1241
2008-01-04  Jerome Guitton  
1242
 
1243
        * ada-lang.c (decode_packed_array_type): Avoid a seg fault
1244
        when the type is an anonymous pointer type.
1245
        (ada_check_typedef): Avoid a seg fault when the type is null.
1246
        * ada-typeprint.c (print_array_type): Add support for pointer
1247
        to packed arrays.
1248
 
1249
2008-01-04  Paul N. Hilfinger  
1250
 
1251
        * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
1252
 
1253
2008-01-04  Joel Brobecker  
1254
 
1255
        * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
1256
        EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
1257
 
1258
2008-01-04  Joel Brobecker  
1259
 
1260
        * ada-exp.y (chop_separator): New function.
1261
        (write_selectors): Rewrite to re-use chop_separator.
1262
        (ada_nget_field_index, get_symbol_field_type): New functions.
1263
        (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
1264
        expressions.
1265
 
1266
2008-01-03  Thiago Jung Bauermann  
1267
 
1268
        * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
1269
        of SYMBOL_VALUE when working with function symbols.
1270
 
1271
2008-01-03  Joel Brobecker  
1272
 
1273
        * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
1274
        expressions.  These expressions do not need to be rewriten.
1275
 
1276
2008-01-03  Joel Brobecker  
1277
 
1278
        * dwarf2read.c (read_enumeration_type): Flag type as stub if
1279
        the given die is a declaration.
1280
 
1281
2008-01-03  Joel Brobecker  
1282
 
1283
        * ada-lang.c (ada_array_bound_from_type): Make non-static.
1284
        Handle properly the case when the index type is an enumerated type.
1285
        Do not return the subtype of the bounds type, just return the
1286
        bounds type directly - this is not needed and is more consistent
1287
        with what we do for arrays when no XA parallel type exists.
1288
 
1289
2008-01-03  Joel Brobecker  
1290
 
1291
        * ada-lang.c (static_unwrap_type): Add forward declaration.
1292
        (template_to_static_fixed_type): Fields of dynamic types sometimes
1293
        also need to be unwrapped. Take this into account.
1294
        (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
1295
        (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
1296
        * ada-typeprint.c (ada_print_type): Get the typename from
1297
        the original type, not the base type.
1298
 
1299
2008-01-03  Jerome Guitton  
1300
 
1301
        * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
1302
        (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
1303
        Update calls to ada_to_fixed_type.
1304
        (ada_template_to_fixed_record_type_1): Ditto, but without looking
1305
        for the tag.
1306
        (ada_to_fixed_type): Add check_tag parameter; do not look for
1307
        tag if null.  When looking for a tag, use a fixed record type.
1308
        * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
1309
        * ada-valprint.c (printable_val_type, ada_value_print): Update
1310
        calls to ada_to_fixed_type.
1311
 
1312
2008-01-03  Luis Machado  
1313
 
1314
        * doublest.c (convert_floatformat_to_doublest): Call
1315
        floatformat_to_doublest instead of floatformat_to_double and use
1316
        DOUBLEST variables.
1317
        (convert_doublest_to_floatformat): Call floatformat_from_doublest
1318
        instead of floatformat_from_double and use DOUBLEST variables.
1319
 
1320
2008-01-03  Nick Hudson  
1321
 
1322
        * MAINTAINERS (Write After Approval): Add self.
1323
 
1324
2008-01-03  Joel Brobecker  
1325
 
1326
        * symfile.c (set_initial_language): Make non-static.
1327
        * symfile.h (set_initial_language): Add declaration.
1328
        * language.c: #include "symfile.h".
1329
        (set_language): Call set_initial_language if the frame language
1330
        could not be determined.
1331
 
1332
2008-01-03  Paul N. Hilfinger  
1333
 
1334
        * eval.c (evaluate_subexp_for_address): Provide frame address to
1335
        locate_var_value only if it will be needed.
1336
 
1337
2008-01-02  Jan Kratochvil  
1338
 
1339
        * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
1340
 
1341
2008-01-02  Joel Brobecker  
1342
 
1343
        * ada-lang.c (ada_evaluate_subexp): Modify the value returned
1344
        when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
1345
        This is needed to make sure that any other treatment applied
1346
        to the resulting value does not fail for spurious reason,
1347
        such as trying to take the address of this value.
1348
 
1349
2008-01-02  Joel Brobecker  
1350
 
1351
        * ada-lang.c (ada_value_equal): Dereference reference types when
1352
        comparing arrays.
1353
 
1354
2008-01-01  Daniel Jacobowitz  
1355
 
1356
        Updated copyright notices for most files.
1357
 
1358
2008-01-01  Christopher Faylor  
1359
 
1360
        * win32-nat.c (psapi_module_handle): Remove static.
1361
        (get_module_name): Rename from psapi_get_dll_name.  Revamp slightly to
1362
        return first module found if base_address is zero.  Don't initialize
1363
        psapi function pointers here.  Convert to cygwin paths when
1364
        appropriate.
1365
        (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
1366
        executable name.  Use get_module_name when that fails or when
1367
        !__CYGWIN__.
1368
        (_initialize_psapi): New function.  Initialize psapi stuff before it is
1369
        needed or issue a warning if it is not found.  Move psapi_module_handle
1370
        here.
1371
 
1372
2008-01-01  Joel Brobecker  
1373
 
1374
        * ada-lang.c (ada_remove_trailing_digits): New function.
1375
        (ada_remove_po_subprogram_suffix): New function.
1376
        (ada_decode): Improve. Move the description of the algorithm
1377
        directly inside the code, instead of in the function global
1378
        description.
1379
 
1380
2008-01-01  Joel Brobecker  
1381
 
1382
        * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
1383
        and always print the dereferenced value.
1384
 
1385
2008-01-01  Joel Brobecker  
1386
 
1387
        * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
1388
        of the case where the first argument is a reference.
1389
        (ada_evaluate_subexp, case BINOP_ADD): Likewise.
1390
 
1391
2008-01-01  Joel Brobecker  
1392
 
1393
        Implement support for Ada interface types.
1394
 
1395
        * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
1396
        (ada_is_ignored_field): Ignore fields that are a dispatch table
1397
        of a tagged type.
1398
 
1399
2008-01-01  Joel Brobecker  
1400
 
1401
        * top.c (print_gdb_version): Update copyright year.
1402
 
1403
2008-01-01  Joel Brobecker  
1404
 
1405
        * ChangeLog-2007: New ChangeLog rotation.
1406
        * ChangeLog: Reset for 2008.
1407
        * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
1408
        ChangeLog-2007.
1409
 
1410
For older changes see ChangeLog-2007.
1411
 
1412
Local Variables:
1413
mode: change-log
1414
left-margin: 8
1415
fill-column: 74
1416
version-control: never
1417
coding: utf-8
1418
End:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.